|
||||||||||
| 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.jface.viewers.ComboBoxCellEditor
org.eclipse.datatools.sqltools.common.ui.tableviewer.TableComboBoxCellEditor
public class TableComboBoxCellEditor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
org.eclipse.jface.viewers.CellEditor.LayoutData |
| Field Summary | |
|---|---|
static int |
DROP_DOWN_ON_KEY_ACTIVATION
|
static int |
DROP_DOWN_ON_MOUSE_ACTIVATION
|
static int |
DROP_DOWN_ON_PROGRAMMATIC_ACTIVATION
|
static int |
DROP_DOWN_ON_TRAVERSE_ACTIVATION
|
static int |
VISIBLE_ITEM_COUNT
|
| Fields inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
| Constructor Summary | |
|---|---|
TableComboBoxCellEditor(AccessibleTableViewer accessibleTableViewer,
org.eclipse.swt.widgets.Composite parent,
java.lang.String[] items,
int style)
|
|
TableComboBoxCellEditor(AccessibleTableViewer accessibleTableViewer,
java.lang.String[] items)
Creates a new cell editor with a combo containing the given list of choices and parented under the given table which is in AccessibleTableViewer. |
|
TableComboBoxCellEditor(AccessibleTableViewer accessibleTableViewer,
java.lang.String[] items,
int style)
Creates a new cell editor with a combo containing the given list of choices and parented under the given table which is in AccessibleTableViewer. |
|
| Method Summary | |
|---|---|
void |
activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent arg0)
|
org.eclipse.swt.custom.CCombo |
getCombo()
|
void |
setActivationStyle(int arg0)
|
void |
setItems(java.lang.String[] items)
|
| Methods inherited from class org.eclipse.jface.viewers.ComboBoxCellEditor |
|---|
getItems, getLayoutData |
| Methods inherited from class org.eclipse.jface.viewers.CellEditor |
|---|
activate, addListener, addPropertyChangeListener, create, deactivate, dispose, getControl, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setFocus, setStyle, setValidator, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VISIBLE_ITEM_COUNT
public static final int DROP_DOWN_ON_MOUSE_ACTIVATION
public static final int DROP_DOWN_ON_KEY_ACTIVATION
public static final int DROP_DOWN_ON_PROGRAMMATIC_ACTIVATION
public static final int DROP_DOWN_ON_TRAVERSE_ACTIVATION
| Constructor Detail |
|---|
public TableComboBoxCellEditor(AccessibleTableViewer accessibleTableViewer,
org.eclipse.swt.widgets.Composite parent,
java.lang.String[] items,
int style)
public TableComboBoxCellEditor(AccessibleTableViewer accessibleTableViewer,
java.lang.String[] items)
AccessibleTableViewer.
The cell editor value is the zero-based index of the selected item.
accessibleTableViewer - AccessibleTableVieweritems - the list of strings for the combo box
public TableComboBoxCellEditor(AccessibleTableViewer accessibleTableViewer,
java.lang.String[] items,
int style)
AccessibleTableViewer.
The cell editor value is the zero-based index of the selected item.
accessibleTableViewer - AccessibleTableVieweritems - the list of strings for the combo boxstyle - the style bits| Method Detail |
|---|
public void setItems(java.lang.String[] items)
setItems in class org.eclipse.jface.viewers.ComboBoxCellEditorpublic org.eclipse.swt.custom.CCombo getCombo()
public void activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent arg0)
activate in class org.eclipse.jface.viewers.CellEditorpublic void setActivationStyle(int arg0)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||