Package org.yamcs.studio.autocomplete.ui
Class AutoCompleteTextCellEditor
java.lang.Object
org.eclipse.jface.viewers.CellEditor
org.eclipse.jface.viewers.TextCellEditor
org.yamcs.studio.autocomplete.ui.AutoCompleteTextCellEditor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor
CellEditor.LayoutData
-
Field Summary
Fields inherited from class org.eclipse.jface.viewers.TextCellEditor
text
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
-
Constructor Summary
ConstructorDescriptionAutoCompleteTextCellEditor
(Composite parent, String type) AutoCompleteTextCellEditor
(Composite parent, String type, List<Control> historyHandlers) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected void
protected void
Return theContentProposalAdapter
of this cell editor.Methods inherited from class org.eclipse.jface.viewers.TextCellEditor
createControl, doGetValue, doSetFocus, doSetValue, editOccured, getLayoutData, handleDefaultSelection, isCopyEnabled, isCutEnabled, isDeleteEnabled, isPasteEnabled, isSaveAllEnabled, isSelectAllEnabled, keyReleaseOccured, performCopy, performCut, performDelete, performPaste, performSelectAll
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dispose, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, getControl, getDoubleClickTimeout, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCorrect, isDirty, isFindEnabled, isRedoEnabled, isUndoEnabled, isValueValid, markDirty, performFind, performRedo, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
-
Constructor Details
-
AutoCompleteTextCellEditor
-
AutoCompleteTextCellEditor
-
-
Method Details
-
getContentProposalAdapter
Return theContentProposalAdapter
of this cell editor.- Returns:
- the
ContentProposalAdapter
-
focusLost
protected void focusLost()- Overrides:
focusLost
in classCellEditor
-
dependsOnExternalFocusListener
protected boolean dependsOnExternalFocusListener()- Overrides:
dependsOnExternalFocusListener
in classTextCellEditor
-
getHistory
-
fireApplyEditorValue
protected void fireApplyEditorValue()- Overrides:
fireApplyEditorValue
in classCellEditor
-