|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ui.views.properties.PropertyDescriptor
org.eclipse.rse.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 | |
|---|---|
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 org.eclipse.ui.views.properties.PropertyDescriptor |
|---|
getAlwaysIncompatible, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getValidator, isCompatibleWith, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
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 box
public SystemComboBoxPropertyDescriptor(Object id,
String displayName)
id - the id of the propertydisplayName - the name to display for the property| Method 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)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||