|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPropertyDescriptor
com.ibm.etools.systems.core.ui.view.SystemComboBoxPropertyDescriptor
A variation of the Eclipse-supplied ComboBoxPropertyDescriptor for displaying properties are a list. This list will be different for each selected object, hence we need the ability to change that list as each object is selected.
Field Summary | |
---|---|
static String |
copyright
|
protected String[] |
values
The list of possible values to display in the combo box |
Constructor Summary | |
---|---|
SystemComboBoxPropertyDescriptor(Object id,
String displayName)
Creates an property descriptor with the given id, display name, but no list. |
|
SystemComboBoxPropertyDescriptor(Object id,
String displayName,
String[] valuesArray)
Creates an property descriptor with the given id, display name, and list of value labels to display in the combo box cell editor. |
Method Summary | |
---|---|
CellEditor |
createPropertyEditor(Composite parent)
The ComboBoxPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
ComboBoxCellEditor .
|
void |
setValues(String[] values)
Set the values to display in the list. |
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
protected String[] values
Constructor Detail |
public SystemComboBoxPropertyDescriptor(Object id, String displayName, String[] valuesArray)
id
- the id of the propertydisplayName
- the name to display for the propertyvaluesArray
- the list of possible values to display in the combo boxpublic SystemComboBoxPropertyDescriptor(Object id, String displayName)
id
- the id of the propertydisplayName
- the name to display for the propertyMethod Detail |
public CellEditor createPropertyEditor(Composite parent)
ComboBoxPropertyDescriptor
implementation of this
IPropertyDescriptor
method creates and returns a new
ComboBoxCellEditor
.
The editor is configured with the current validator if there is one.
public void setValues(String[] values)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |