|
||||||||||
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.datatools.sqltools.sqlbuilder.views.ComboBoxCellEditor
public class ComboBoxCellEditor
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor |
---|
org.eclipse.jface.viewers.CellEditor.LayoutData |
Field Summary |
---|
Fields inherited from class org.eclipse.jface.viewers.CellEditor |
---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
Constructor Summary | |
---|---|
ComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent,
LabelValuePair[] items)
Creates a new combo box cell editor with the given choices. |
Method Summary | |
---|---|
void |
activate()
|
void |
createItems(LabelValuePair[] items)
|
void |
deactivate()
|
void |
forwardFocusLost()
Forwards a focus-lost event from the combo focus listener to this class. |
org.eclipse.swt.custom.CCombo |
getCombo()
|
LabelValuePair[] |
getLabelValuePairs()
|
java.lang.String |
getSelection()
|
ITextProvider |
getTextProvider()
Gets the current text provider. |
void |
setSelection(java.lang.String selection)
|
void |
setTextProvider(ITextProvider textProvider)
Sets the text provider to the given object. |
Methods inherited from class org.eclipse.jface.viewers.CellEditor |
---|
activate, addListener, addPropertyChangeListener, create, dispose, getControl, getErrorMessage, getLayoutData, 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 |
Constructor Detail |
---|
public ComboBoxCellEditor(org.eclipse.swt.widgets.Composite parent, LabelValuePair[] items)
Method Detail |
---|
public void createItems(LabelValuePair[] items)
public LabelValuePair[] getLabelValuePairs()
public void forwardFocusLost()
public org.eclipse.swt.custom.CCombo getCombo()
public java.lang.String getSelection()
public ITextProvider getTextProvider()
public void setSelection(java.lang.String selection)
public void setTextProvider(ITextProvider textProvider)
textProvider
- the text provider to setpublic void deactivate()
deactivate
in class org.eclipse.jface.viewers.CellEditor
public void activate()
activate
in class org.eclipse.jface.viewers.CellEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |