|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FieldEditor com.ibm.etools.iseries.rse.ui.preferences.ListEditor com.ibm.etools.iseries.rse.ui.preferences.StripSequenceNumberFieldEditor
public class StripSequenceNumberFieldEditor
A field editor for stripping sequence numbers.
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.preferences.ListEditor |
---|
_bUpperCase, _iMaxItems, addButton, buttonBox, Copyright, downButton, list, removeButton, selectionListener, upButton |
Constructor Summary | |
---|---|
StripSequenceNumberFieldEditor(String strName,
String strLabel,
String tooltip,
String dialogTooltip,
String dialogHelpContext,
Composite compositeParent)
The constructor for this class |
Method Summary | |
---|---|
protected void |
addPressed()
Notifies that the Add button has been pressed. |
protected void |
createButtons(Composite buttonBox)
Creates the Add, Remove, Up, and Down button in the given button box. |
protected String |
createList(String[] straArguments)
Creates a comma separated string from an array of individual strings. |
protected String |
getNewInputObject()
Create a input dialog when user click on "Add" to define a new condition. |
String |
isValid(String strInput)
|
protected String[] |
parseString(String str)
Called to create the list from the string saved in the ini file. |
protected void |
selectionChanged()
Notifies that the list selection has changed. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.preferences.ListEditor |
---|
adjustForNumColumns, createPushButton, createSelectionListener, doFillIntoGrid, doLoad, doLoadDefault, doStore, downPressed, getButtonBoxControl, getListControl, getNumberOfControls, getSelectionListener, getShell, removePressed, setFocus, setItemLimit, setUpperCase, swap, upPressed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public StripSequenceNumberFieldEditor(String strName, String strLabel, String tooltip, String dialogTooltip, String dialogHelpContext, Composite compositeParent)
strName
- The name of the preferencestrLabel
- The label to usetooltip
- The tooltip string to be used.dialogTooltip
- The tooltip for the dialog when new is pressedcompositeParent
- The composite the preference should be oneMethod Detail |
---|
protected String[] parseString(String str)
parseString
in class ListEditor
str
- the string
String
ListEditor.createList(java.lang.String[])
protected String getNewInputObject()
getNewInputObject
in class ListEditor
protected String createList(String[] straArguments)
createList
in class ListEditor
straArguments
- the list of items
ListEditor.parseString(java.lang.String)
public String isValid(String strInput)
protected void createButtons(Composite buttonBox)
ListEditor
createButtons
in class ListEditor
buttonBox
- the box for the buttonsprotected void selectionChanged()
ListEditor
selectionChanged
in class ListEditor
protected void addPressed()
ListEditor
addPressed
in class ListEditor
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |