org.eclipse.rse.processes.ui
Class SystemProcessFilterStringEditPane
java.lang.Object
org.eclipse.rse.ui.filters.SystemFilterStringEditPane
org.eclipse.rse.processes.ui.SystemProcessFilterStringEditPane
-
All Implemented Interfaces:
-
EventListener,
SelectionListener,
org.eclipse.swt.internal.SWTEventListener
-
public class SystemProcessFilterStringEditPane
- extends
SystemFilterStringEditPane
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
|
Methods inherited from class org.eclipse.rse.ui.filters.
SystemFilterStringEditPane
|
addChangeListener,
addFillerLine,
addGrowableFillerLine,
addSeparatorLine,
areErrorsPending,
canSaveImplicitly,
clearErrorsPending,
configureHeadingLabel,
enable,
fireBackupChangeEvent,
fireChangeEvent,
fireRestoreChangeEvent,
getCurrentSelectionIndex,
getDefaultFilterName,
getEditable,
getFilterStringPromptLabel,
getFilterStringPromptTooltip,
getInputFilterString,
getShell,
getSystemFilterPoolManagerProvider,
getSystemFilterPoolReferenceManagerProvider,
isComplete,
removeChangeListener,
setChangeFilterMode,
setFilterString,
setIgnoreChanges,
setInputFilterString,
setSystemFilterPoolManagerProvider,
setSystemFilterPoolReferenceManagerProvider,
setTestButton,
setType,
validateStringInput,
widgetDefaultSelected
|
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
lblStatus
protected
Label lblStatus
chkStatus
protected
CheckboxTableViewer chkStatus
lblExeName
protected
Label lblExeName
lblUserName
protected
Label lblUserName
lblGid
protected
Label lblGid
txtExeName
protected
Text txtExeName
txtUserName
protected
Text txtUserName
txtGid
protected
Text txtGid
lblMinVM
protected
Label lblMinVM
lblMaxVM
protected
Label lblMaxVM
txtMinVM
protected
Text txtMinVM
txtMaxVM
protected
Text txtMaxVM
chkBoxUnlimitedVM
protected
Button chkBoxUnlimitedVM
gidLimit
protected int gidLimit
vmMaxValue
protected long vmMaxValue
exeNameLength
protected int exeNameLength
userNameLength
protected int userNameLength
vmRangeValidator
protected
ValidatorLongRangeInput vmRangeValidator
gidValidator
protected
ValidatorIntegerRangeInput gidValidator
nameValidator
protected
ValidatorSpecialChar nameValidator
inputFilterStrings
protected
String[] inputFilterStrings
noValidation
protected boolean noValidation
callerInstanceOfWizardPage
protected boolean callerInstanceOfWizardPage
callerInstanceOfSystemPromptDialog
protected boolean callerInstanceOfSystemPromptDialog
skipUniquenessChecking
protected boolean skipUniquenessChecking
calledFromVerify
protected boolean calledFromVerify
dontStealFocus
protected boolean dontStealFocus
inputSubsystemConfiguration
protected
IRemoteProcessSubSystemConfiguration inputSubsystemConfiguration
SIZING_SELECTION_WIDGET_HEIGHT
protected static final int SIZING_SELECTION_WIDGET_HEIGHT
-
See Also:
-
Constant Field Values
SIZING_SELECTION_WIDGET_WIDTH
protected static final int SIZING_SELECTION_WIDGET_WIDTH
-
See Also:
-
Constant Field Values
SystemProcessFilterStringEditPane
public SystemProcessFilterStringEditPane(
Shell shell)
- Constructor for SystemProcessFilterStringEditPane.
-
Parameters:
-
shell
-
setEditable
public void setEditable(boolean editable)
-
Description copied from class:
SystemFilterStringEditPane
- Sets whether or not the edit pane is not to be editable. May be invoked
atany time prior or after the creation of the controls.
Subclasses should override and enable their own controls appropriately.
Subclasses should call super to ensure that the "editable" flag is
set properly. Controls which are not instantiated in this call will be ignored.
-
-
Overrides:
-
setEditable
in class
SystemFilterStringEditPane
-
-
Parameters:
-
editable
- 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.
setExeNameLength
public void setExeNameLength(int max)
- Call this to override the text limit for the filter name, from the default of 256.
-
setUserNameLength
public void setUserNameLength(int max)
- Call this to override the text limit for the filter name, from the default of 256.
-
setExistingStrings
public void setExistingStrings(
String[] existingStrings)
- Existing strings are used to aid in uniqueness validation.
-
createContents
public
Control createContents(
Composite parent)
- Populate the pane with the GUI widgets
-
-
Overrides:
-
createContents
in class
SystemFilterStringEditPane
-
-
Parameters:
-
parent
-
-
Returns:
- Control
-
See Also:
-
SystemWidgetHelpers
getInitialFocusControl
public
Control getInitialFocusControl()
- Return the control to recieve initial focus. Should be overridden if you override createContents
-
-
Overrides:
-
getInitialFocusControl
in class
SystemFilterStringEditPane
-
doInitializeFields
protected void doInitializeFields()
- Override of parent.
Called after reset fields, at first create time or when input is reset to a non-null value.
-
-
Overrides:
-
doInitializeFields
in class
SystemFilterStringEditPane
-
resetFields
protected void resetFields()
- This is called in the change filter dialog when the user selects "new", or selects another string.
You must override this if you override createContents. Be sure to test if the contents have even been created yet!
-
-
Overrides:
-
resetFields
in class
SystemFilterStringEditPane
-
areFieldsComplete
protected boolean areFieldsComplete()
- Must be overridden if createContents is overridden.
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.
-
-
Overrides:
-
areFieldsComplete
in class
SystemFilterStringEditPane
-
verify
public
SystemMessage verify()
- Completes processing of the wizard page or dialog. If this
method returns true, the wizard/dialog will close;
otherwise, it will stay active.
-
-
Overrides:
-
verify
in class
SystemFilterStringEditPane
-
-
Returns:
- error, if there is one
validateNameInput
protected
SystemMessage validateNameInput(
Text txt)
- This hook method is called whenever the text changes in the input field.
The default implementation delegates the request to an
ISystemValidator
object.
If the ISystemValidator
reports an error the error message is displayed
in the Dialog's message line.
-
validateGidInput
protected
SystemMessage validateGidInput()
- This hook method is called whenever the text changes in the input field.
The default implementation delegates the request to an
ISystemValidator
object.
If the ISystemValidator
reports an error the error message is displayed
in the Dialog's message line.
-
validateMinVMInput
protected
SystemMessage validateMinVMInput()
- This hook method is called whenever the text changes in the input field.
The default implementation delegates the request to an
ISystemValidator
object.
If the ISystemValidator
reports an error the error message is displayed
in the Dialog's message line.
-
validateMaxVMInput
protected
SystemMessage validateMaxVMInput()
- This hook method is called whenever the text changes in the input field.
The default implementation delegates the request to an
ISystemValidator
object.
If the ISystemValidator
reports an error the error message is displayed
in the Dialog's message line.
-
validateMinLessThanMax
protected
SystemMessage validateMinLessThanMax()
- This hook method is called whenever the text changes in the input field.
The default implementation delegates the request to an
ISystemValidator
object.
If the ISystemValidator
reports an error the error message is displayed
in the Dialog's message line.
-
getFilterString
public
String getFilterString()
- Get the filter string in its current form.
This should be overridden if createContents is overridden.
-
-
Overrides:
-
getFilterString
in class
SystemFilterStringEditPane
-
widgetSelected
public void widgetSelected(
SelectionEvent event)
- User has selected something
-
-
Specified by:
-
widgetSelected
in interface
SelectionListener
-
Overrides:
-
widgetSelected
in class
SystemFilterStringEditPane
-
processTest
public void processTest(
Shell shell)
- Called by us or by owning dialog when common Test button is pressed
-
-
Overrides:
-
processTest
in class
SystemFilterStringEditPane
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.