Class FieldSelectionDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.pentaho.di.ui.core.dialog.BaseDialog
org.pentaho.di.ui.trans.step.common.FieldSelectionDialog
A dialog with options to (re)load all fields, or only add new ones. Upon submitting the dialog, the "Sample data"
dialog is opened to load fields.
-
Field Summary
FieldsFields inherited from class org.pentaho.di.ui.core.dialog.BaseDialog
buttons, ELEMENT_SPACING, LABEL_SPACING, MARGIN_SIZE, MEDIUM_FIELD, MEDIUM_SMALL_FIELD, props, shell, SHELL_WIDTH_OFFSET, SMALL_FIELD, title, VAR_ICON_HEIGHT, VAR_ICON_WIDTH, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.ControlReturns the last element in the body - the one to which the buttons should be attached.protected voidcancel()Override to provide specific behavior, other than just disposing the dialog.protected voidok()Override to provide specific behavior, other than just disposing the dialog.Methods inherited from class org.pentaho.di.ui.core.dialog.BaseDialog
buildFooter, dispose, open, setButtons, setFooterTopPaddingMethods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Field Details
-
reloadAllFields
protected boolean reloadAllFields
-
-
Constructor Details
-
FieldSelectionDialog
public FieldSelectionDialog(org.eclipse.swt.widgets.Shell shell, int numNewFields)
-
-
Method Details
-
buildBody
protected org.eclipse.swt.widgets.Control buildBody()Description copied from class:BaseDialogReturns the last element in the body - the one to which the buttons should be attached.- Specified by:
buildBodyin classBaseDialog- Returns:
-
cancel
protected void cancel()Override to provide specific behavior, other than just disposing the dialog. -
ok
protected void ok()Override to provide specific behavior, other than just disposing the dialog.
-