Package org.pentaho.di.ui.util
Class ParameterTableHelper
java.lang.Object
org.pentaho.di.ui.util.ParameterTableHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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) void
setParameterTableView
(TableView parameterTableView) void
-
Constructor Details
-
ParameterTableHelper
public ParameterTableHelper()
-
-
Method Details
-
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
-
getFieldDisabledListener
-
getInputDisabledListener
-
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
-