|
RSE Release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.ui.filters.SystemFilterStringEditPane
org.eclipse.rse.processes.ui.SystemProcessFilterStringEditPane
public class SystemProcessFilterStringEditPane
| Fields inherited from class org.eclipse.rse.ui.filters.SystemFilterStringEditPane |
|---|
changeFilterMode, currentSelectionIndex, dlgTestButton, editable, errorMessage, ignoreChanges, inputFilterString, labelString, listeners, newMode, provider, refProvider, shell, skipEventFiring, textString, type |
| Constructor Summary | |
|---|---|
SystemProcessFilterStringEditPane(Shell shell)
Constructor for SystemProcessFilterStringEditPane. |
|
| Method Summary | |
|---|---|
protected boolean |
areFieldsComplete()
Must be overridden if createContents is overridden. |
Control |
createContents(Composite parent)
Populate the pane with the GUI widgets |
protected void |
doInitializeFields()
Override of parent. |
String |
getFilterString()
Get the filter string in its current form. |
Control |
getInitialFocusControl()
Return the control to recieve initial focus. |
void |
processTest(Shell shell)
Called by us or by owning dialog when common Test button is pressed |
protected void |
resetFields()
This is called in the change filter dialog when the user selects "new", or selects another string. |
void |
setEditable(boolean editable)
Sets whether or not the edit pane is not to be editable. |
void |
setExeNameLength(int max)
Call this to override the text limit for the filter name, from the default of 256. |
void |
setExistingStrings(String[] existingStrings)
Existing strings are used to aid in uniqueness validation. |
void |
setUserNameLength(int max)
Call this to override the text limit for the filter name, from the default of 256. |
protected SystemMessage |
validateGidInput()
This hook method is called whenever the text changes in the input field. |
protected SystemMessage |
validateMaxVMInput()
This hook method is called whenever the text changes in the input field. |
protected SystemMessage |
validateMinLessThanMax()
This hook method is called whenever the text changes in the input field. |
protected SystemMessage |
validateMinVMInput()
This hook method is called whenever the text changes in the input field. |
protected SystemMessage |
validateNameInput(Text txt)
This hook method is called whenever the text changes in the input field. |
SystemMessage |
verify()
Completes processing of the wizard page or dialog. |
void |
widgetSelected(SelectionEvent event)
User has selected something |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Label lblStatus
protected CheckboxTableViewer chkStatus
protected Label lblExeName
protected Label lblUserName
protected Label lblGid
protected Text txtExeName
protected Text txtUserName
protected Text txtGid
protected Label lblMinVM
protected Label lblMaxVM
protected Text txtMinVM
protected Text txtMaxVM
protected Button chkBoxUnlimitedVM
protected int gidLimit
protected long vmMaxValue
protected int exeNameLength
protected int userNameLength
protected ValidatorLongRangeInput vmRangeValidator
protected ValidatorIntegerRangeInput gidValidator
protected ValidatorSpecialChar nameValidator
protected String[] inputFilterStrings
protected boolean noValidation
protected boolean callerInstanceOfWizardPage
protected boolean callerInstanceOfSystemPromptDialog
protected boolean skipUniquenessChecking
protected boolean calledFromVerify
protected boolean dontStealFocus
protected IRemoteProcessSubSystemConfiguration inputSubsystemConfiguration
protected static final int SIZING_SELECTION_WIDGET_HEIGHT
protected static final int SIZING_SELECTION_WIDGET_WIDTH
| Constructor Detail |
|---|
public SystemProcessFilterStringEditPane(Shell shell)
shell - | Method Detail |
|---|
public void setEditable(boolean editable)
SystemFilterStringEditPaneSubclasses should call super to ensure that the "editable" flag is set properly. Controls which are not instantiated in this call will be ignored.
setEditable in class SystemFilterStringEditPaneeditable - true if the controls in this pane are to be editable.
Usually set to true, but if the filter is not modifiable it will be
set to false.public void setExeNameLength(int max)
public void setUserNameLength(int max)
public void setExistingStrings(String[] existingStrings)
public Control createContents(Composite parent)
createContents in class SystemFilterStringEditPaneparent -
SystemWidgetHelperspublic Control getInitialFocusControl()
getInitialFocusControl in class SystemFilterStringEditPaneprotected void doInitializeFields()
doInitializeFields in class SystemFilterStringEditPaneprotected void resetFields()
resetFields in class SystemFilterStringEditPaneprotected boolean areFieldsComplete()
This is called by the isComplete, to decide if the default information is complete enough to enable finish. It doesn't do validation, that will be done when finish is pressed.
areFieldsComplete in class SystemFilterStringEditPanepublic SystemMessage verify()
verify in class SystemFilterStringEditPaneprotected SystemMessage validateNameInput(Text txt)
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
protected SystemMessage validateGidInput()
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
protected SystemMessage validateMinVMInput()
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
protected SystemMessage validateMaxVMInput()
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
protected SystemMessage validateMinLessThanMax()
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
public String getFilterString()
getFilterString in class SystemFilterStringEditPanepublic void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerwidgetSelected in class SystemFilterStringEditPanepublic void processTest(Shell shell)
processTest in class SystemFilterStringEditPane
|
RSE Release 3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||