public class TypeCellEditor
extends org.eclipse.jface.viewers.TextCellEditor
| Constructor and Description |
|---|
TypeCellEditor(org.eclipse.swt.widgets.Composite pParent,
int pTypeMask)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.widgets.Control |
createControl(org.eclipse.swt.widgets.Composite pParent) |
protected void |
focusLost() |
void |
includeSequences(boolean pInclude)
Set whether the row should support include auto-completion for sequences.
|
void |
includeSimpleTypes(boolean pInclude)
Set whether the row should support include auto-completion for simple UNO types.
|
void |
includeVoid(boolean pInclude)
Set whether the row should support include auto-completion for the void type.
|
protected java.lang.Object |
openDialogBox(org.eclipse.swt.widgets.Composite pParent)
Open the type chooser dialog.
|
dependsOnExternalFocusListener, doGetValue, doSetFocus, doSetValue, editOccured, getLayoutData, handleDefaultSelection, isCopyEnabled, isCutEnabled, isDeleteEnabled, isPasteEnabled, isSaveAllEnabled, isSelectAllEnabled, keyReleaseOccured, performCopy, performCut, performDelete, performPaste, performSelectAllactivate, activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dispose, fireApplyEditorValue, 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, valueChangedpublic TypeCellEditor(org.eclipse.swt.widgets.Composite pParent,
int pTypeMask)
The types mask is an integer from 0 to 2048-1. The type mask can be obtained by bit-OR of the types constants
defined in InternalUnoType class.
pParent - the parent composite.pTypeMask - the types to show.public void includeSequences(boolean pInclude)
pInclude - true if the row can auto-complete sequencespublic void includeSimpleTypes(boolean pInclude)
pInclude - true if the row can auto-complete sequencesto include/exclude the void typepublic void includeVoid(boolean pInclude)
pInclude - true if the row can auto-complete sequencesfor more precisions on the inclusion of the void type dependence on the other
simple types inclusion.protected java.lang.Object openDialogBox(org.eclipse.swt.widgets.Composite pParent)
pParent - the parent compositeprotected void focusLost()
focusLost in class org.eclipse.jface.viewers.CellEditorprotected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite pParent)
createControl in class org.eclipse.jface.viewers.TextCellEditor