Package org.apache.hop.ui.core.dialog
Class ConfigurationDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.apache.hop.ui.core.dialog.ConfigurationDialog
-
- Direct Known Subclasses:
PipelineExecutionConfigurationDialog,WorkflowExecutionConfigurationDialog
public abstract class ConfigurationDialog extends org.eclipse.swt.widgets.Dialog
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractMetaabstractMetaprotected org.eclipse.swt.widgets.Compositecompositeprotected IExecutionConfigurationconfigurationprotected org.eclipse.swt.layout.FormDatafdDetailsprotected org.eclipse.swt.widgets.GroupgDetailsprotected HopGuihopGuistatic StringLOG_LEVELprotected intmarginprotected booleanretvalprotected org.eclipse.swt.widgets.Shellshellprotected org.eclipse.swt.widgets.ButtonwClearLogprotected org.eclipse.swt.widgets.LabelwlLogLevelprotected org.eclipse.swt.custom.CCombowLogLevelprotected org.eclipse.swt.widgets.ControlwRunConfigurationControlprotected TableViewwVariables
-
Constructor Summary
Constructors Constructor Description ConfigurationDialog(org.eclipse.swt.widgets.Shell parent, IExecutionConfiguration configuration, AbstractMeta meta)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidbuttonsSectionLayout(String alwaysShowOptionLabel, String alwaysShowOptionTooltip, String docTitle, String docUrl, String docHeader)protected voidcancel()abstract booleangetInfo()protected voidgetInfoParameters()Get the parameters from the dialog.protected voidgetInfoVariables()protected voidgetParamsData()protected voidmainLayout(String shellTitle, org.eclipse.swt.graphics.Image img)protected voidok()protected voidopenDialog()protected abstract voidoptionsSectionControls()protected voidoptionsSectionLayout(Class<?> PKG, String prefix)protected voidparametersSectionLayout(Class<?> PKG, String prefix)voidsetConfiguration(IExecutionConfiguration configuration)
-
-
-
Field Detail
-
abstractMeta
protected AbstractMeta abstractMeta
-
configuration
protected IExecutionConfiguration configuration
-
wVariables
protected TableView wVariables
-
retval
protected boolean retval
-
shell
protected org.eclipse.swt.widgets.Shell shell
-
wlLogLevel
protected org.eclipse.swt.widgets.Label wlLogLevel
-
gDetails
protected org.eclipse.swt.widgets.Group gDetails
-
wLogLevel
protected org.eclipse.swt.custom.CCombo wLogLevel
-
wClearLog
protected org.eclipse.swt.widgets.Button wClearLog
-
margin
protected int margin
-
composite
protected org.eclipse.swt.widgets.Composite composite
-
wRunConfigurationControl
protected org.eclipse.swt.widgets.Control wRunConfigurationControl
-
fdDetails
protected org.eclipse.swt.layout.FormData fdDetails
-
hopGui
protected HopGui hopGui
-
LOG_LEVEL
public static final String LOG_LEVEL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigurationDialog
public ConfigurationDialog(org.eclipse.swt.widgets.Shell parent, IExecutionConfiguration configuration, AbstractMeta meta)
-
-
Method Detail
-
getInfoVariables
protected void getInfoVariables()
-
getInfoParameters
protected void getInfoParameters()
Get the parameters from the dialog.
-
ok
protected void ok()
-
cancel
protected void cancel()
-
getInfo
public abstract boolean getInfo()
- Returns:
- True if all is OK. Returns false if there is an error in the configuration
-
getParamsData
protected void getParamsData()
-
setConfiguration
public void setConfiguration(IExecutionConfiguration configuration)
- Parameters:
configuration- the configuration to set
-
mainLayout
protected void mainLayout(String shellTitle, org.eclipse.swt.graphics.Image img)
-
buttonsSectionLayout
protected void buttonsSectionLayout(String alwaysShowOptionLabel, String alwaysShowOptionTooltip, String docTitle, String docUrl, String docHeader)
-
openDialog
protected void openDialog()
-
optionsSectionControls
protected abstract void optionsSectionControls()
-
-