|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.viewers.CellEditor
org.eclipse.rse.ui.view.SystemComboBoxCellEditor
A slight variation of the Eclipse-supplied ComboBoxCellEditor class, which allows the input array to be changed dynamically.
A cell editor that presents a list of items in a combo box. The cell editor's value is the zero-based index of the selected item.
This class may be instantiated; it is not intended to be subclassed.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
CellEditor.LayoutData |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
| Constructor Summary | |
|---|---|
SystemComboBoxCellEditor(Composite parent)
Creates a new cell editor with a combo containing the given list of choices and parented under the given control. |
|
SystemComboBoxCellEditor(Composite parent,
String[] items)
Creates a new cell editor with a combo containing the given list of choices and parented under the given control. |
|
| Method Summary | |
|---|---|
protected Control |
createControl(Composite parent)
|
protected Object |
doGetValue()
The ComboBoxCellEditor implementation of
this CellEditor framework method returns
the zero-based index of the current selection. |
protected void |
doSetFocus()
|
protected void |
doSetValue(Object value)
The ComboBoxCellEditor implementation of
this CellEditor framework method
accepts a zero-based index of a selection. |
void |
setItems(String[] items)
Change the input items |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemComboBoxCellEditor(Composite parent,
String[] items)
parent - the parent controlitems - the list of strings for the combo boxpublic SystemComboBoxCellEditor(Composite parent)
parent - the parent control
//@param whether or not this is readonly| Method Detail |
public void setItems(String[] items)
protected Control createControl(Composite parent)
protected Object doGetValue()
ComboBoxCellEditor implementation of
this CellEditor framework method returns
the zero-based index of the current selection.
Integerprotected void doSetFocus()
protected void doSetValue(Object value)
ComboBoxCellEditor implementation of
this CellEditor framework method
accepts a zero-based index of a selection.
value - the zero-based index of the selection wrapped
as an Integer
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||