public abstract class StringBasedCellEditor extends org.eclipse.jface.viewers.TextCellEditor implements ECPCellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
COPY_STRING_ALTERNATIVE, CUSTOM_VARIANT
Constructor and Description |
---|
StringBasedCellEditor()
Default constructor.
|
StringBasedCellEditor(org.eclipse.swt.widgets.Composite parent)
Constructor.
|
StringBasedCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent event) |
protected void |
doSetFocus() |
protected void |
fireCancelEditor() |
protected boolean |
isPrintable(char character)
Determines whether the given character is printable.
|
protected org.eclipse.core.databinding.UpdateValueStrategy |
withPreSetValidation(org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.core.databinding.UpdateValueStrategy delegate)
Create a
PreSetValidationStrategy . |
createControl, dependsOnExternalFocusListener, doGetValue, doSetValue, editOccured, getLayoutData, handleDefaultSelection, isCopyEnabled, isCutEnabled, isDeleteEnabled, isPasteEnabled, isSaveAllEnabled, isSelectAllEnabled, keyReleaseOccured, performCopy, performCut, performDelete, performPaste, performSelectAll
activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dispose, fireApplyEditorValue, 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, valueChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnWidthWeight, getFormatedString, getImage, getMinWidth, getModelToTargetStrategy, getStyle, getTargetToModelStrategy, getValueProperty, instantiate, setEditable
public StringBasedCellEditor()
public StringBasedCellEditor(org.eclipse.swt.widgets.Composite parent)
parent
- the parent Composite
public StringBasedCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
parent
- the parent Composite
style
- SWT styling bitspublic void activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent event)
activate
in class org.eclipse.jface.viewers.CellEditor
CellEditor.activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent)
protected void fireCancelEditor()
fireCancelEditor
in class org.eclipse.jface.viewers.CellEditor
protected void doSetFocus()
doSetFocus
in class org.eclipse.jface.viewers.TextCellEditor
TextCellEditor.doSetFocus()
protected org.eclipse.core.databinding.UpdateValueStrategy withPreSetValidation(org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.databinding.UpdateValueStrategy delegate)
PreSetValidationStrategy
.feature
- the feature the cell editor is bound againstdelegate
- a delegate UpdateValueStrategy
PreSetValidationStrategy
protected boolean isPrintable(char character)
character
- the character to be checkedtrue
, if the character can be printed, false
otherwiseCopyright © 2019. All rights reserved.