|
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 SystemComboBoxFieldEditor com.ibm.etools.systems.application.visual.editor.ui.preferences.IDMapFieldEditor
public class IDMapFieldEditor
Field Editor for ID-Name mapping which displays the name strings in ComboBox but stores the corresponding ID strings to preference store.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
IDMapFieldEditor(String name,
String labelText,
String[] contents,
String[] IDs,
boolean readOnly,
Composite parent)
Constructor. |
Method Summary | |
---|---|
protected void |
doLoad()
|
protected void |
doLoadDefault()
|
protected void |
doStore()
|
String |
getContent(String id)
Get content from corresponding ID. |
String |
getID(String content)
Get corresponding ID from content text. |
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 IDMapFieldEditor(String name, String labelText, String[] contents, String[] IDs, boolean readOnly, Composite parent)
name
- labelText
- contents:
- the content strings displayed in Combo box.IDs:
- the ID strings mapping with contents, must have same number of entries as that of contents.readOnly
- parent
- Method Detail |
---|
protected void doStore()
FieldEditor
protected void doLoadDefault()
FieldEditor
protected void doLoad()
FieldEditor
public String getID(String content)
public String getContent(String id)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |