public class FormattedTextCellEditor
extends org.eclipse.jface.viewers.TextCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected FormattedText |
formattedText |
| Constructor and Description |
|---|
FormattedTextCellEditor(org.eclipse.swt.widgets.Composite parent)
Creates a new formatted text cell editor parented under the given control.
|
FormattedTextCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
Creates a new formatted text cell editor parented under the given control.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.widgets.Control |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected java.lang.Object |
doGetValue() |
protected void |
doSetValue(java.lang.Object value) |
FormattedText |
getFormattedText()
Returns the FormattedText object used by this cell editor.
|
void |
setFormatter(ITextFormatter formatter)
Sets the formatter that this cell editor must use to edit the value.
|
dependsOnExternalFocusListener, doSetFocus, 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, focusLost, 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, valueChangedprotected FormattedText formattedText
public FormattedTextCellEditor(org.eclipse.swt.widgets.Composite parent)
parent - the parent controlpublic FormattedTextCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
parent - the parent controlstyle - the style bitsprotected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
createControl in class org.eclipse.jface.viewers.TextCellEditorTextCellEditor.createControl(org.eclipse.swt.widgets.Composite)protected java.lang.Object doGetValue()
doGetValue in class org.eclipse.jface.viewers.TextCellEditorTextCellEditor.doGetValue()protected void doSetValue(java.lang.Object value)
doSetValue in class org.eclipse.jface.viewers.TextCellEditorTextCellEditor.doSetValue(java.lang.Object)public FormattedText getFormattedText()
public void setFormatter(ITextFormatter formatter)
formatter - the formatter