Package org.pentaho.di.ui.util
Class ParameterTableHelper
- java.lang.Object
-
- org.pentaho.di.ui.util.ParameterTableHelper
-
public class ParameterTableHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ParameterTableHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkParams(org.eclipse.swt.widgets.Shell shell)
If user has not entered a parameter name, but has entered a value/variable, OR if user has entered a parameter name, but not entered a value/variable.void
checkTableOnMod(org.eclipse.swt.events.ModifyEvent modifyEvent)
void
checkTableOnOpen(org.eclipse.swt.widgets.TableItem tableItem, int i)
FieldDisabledListener
getFieldDisabledListener()
FieldDisabledListener
getInputDisabledListener()
FieldDisabledListener
getVarDisabledListener()
void
setParameterTableView(TableView parameterTableView)
void
setUpDisabledListeners()
-
-
-
Method Detail
-
setUpDisabledListeners
public void setUpDisabledListeners()
-
checkTableOnMod
public void checkTableOnMod(org.eclipse.swt.events.ModifyEvent modifyEvent)
-
checkTableOnOpen
public void checkTableOnOpen(org.eclipse.swt.widgets.TableItem tableItem, int i)
-
setParameterTableView
public void setParameterTableView(TableView parameterTableView)
-
getFieldDisabledListener
public FieldDisabledListener getFieldDisabledListener()
-
getInputDisabledListener
public FieldDisabledListener getInputDisabledListener()
-
getVarDisabledListener
public FieldDisabledListener getVarDisabledListener()
-
checkParams
public boolean checkParams(org.eclipse.swt.widgets.Shell shell)
If user has not entered a parameter name, but has entered a value/variable, OR if user has entered a parameter name, but not entered a value/variable. If either is true, present error dialog and return true, else return false.- Returns:
- true if conditions above are met, false otherwise
-
-