Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.processes.ui
Class SystemProcessFilterStringEditPane


java.lang.Object
  extended by 

org.eclipse.rse.ui.filters.SystemFilterStringEditPane
      extended by 
org.eclipse.rse.processes.ui.SystemProcessFilterStringEditPane
All Implemented Interfaces:
EventListener, SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class SystemProcessFilterStringEditPane
extends SystemFilterStringEditPane


Field Summary
protected  boolean calledFromVerify
           
protected  boolean callerInstanceOfSystemPromptDialog
           
protected  boolean callerInstanceOfWizardPage
           
protected   Button chkBoxUnlimitedVM
           
protected   CheckboxTableViewer chkStatus
           
protected  boolean dontStealFocus
           
protected  int exeNameLength
           
protected  int gidLimit
           
protected   ValidatorIntegerRangeInput gidValidator
           
protected   String[] inputFilterStrings
           
protected   IRemoteProcessSubSystemConfiguration inputSubsystemConfiguration
           
protected   Label lblExeName
           
protected   Label lblGid
           
protected   Label lblMaxVM
           
protected   Label lblMinVM
           
protected   Label lblStatus
           
protected   Label lblUserName
           
protected   ValidatorSpecialChar nameValidator
           
protected  boolean noValidation
           
protected static int SIZING_SELECTION_WIDGET_HEIGHT
           
protected static int SIZING_SELECTION_WIDGET_WIDTH
           
protected  boolean skipUniquenessChecking
           
protected   Text txtExeName
           
protected   Text txtGid
           
protected   Text txtMaxVM
           
protected   Text txtMinVM
           
protected   Text txtUserName
           
protected  int userNameLength
           
protected  long vmMaxValue
           
protected   ValidatorLongRangeInput vmRangeValidator
           
 
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 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
 

Field Detail

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
Constructor Detail

SystemProcessFilterStringEditPane

public SystemProcessFilterStringEditPane(
Shell shell)
Constructor for SystemProcessFilterStringEditPane.

Parameters:
shell -
Method Detail

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

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire