public abstract class StringBasedCellEditor extends org.eclipse.jface.viewers.TextCellEditor implements ECPCellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDOCOPY_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() |
void |
instantiate(org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext viewModelContext)
Instantiates this cell editor.
|
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, performSelectAllactivate, 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, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnWidthWeight, getFormatedString, getImage, getMinWidth, getModelToTargetStrategy, getStyle, getTargetToModelStrategy, getValueProperty, setEditablepublic StringBasedCellEditor()
public StringBasedCellEditor(org.eclipse.swt.widgets.Composite parent)
parent - the parent Compositepublic StringBasedCellEditor(org.eclipse.swt.widgets.Composite parent,
int style)
parent - the parent Compositestyle - SWT styling bitspublic void activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent event)
activate in class org.eclipse.jface.viewers.CellEditorprotected void fireCancelEditor()
fireCancelEditor in class org.eclipse.jface.viewers.CellEditorprotected void doSetFocus()
doSetFocus in class org.eclipse.jface.viewers.TextCellEditorprotected 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 UpdateValueStrategyPreSetValidationStrategyprotected boolean isPrintable(char character)
character - the character to be checkedtrue, if the character can be printed, false otherwisepublic void instantiate(org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext viewModelContext)
ECPCellEditorViewModelServices.instantiate in interface ECPCellEditorfeature - the EStructuralFeature displayed in this cell editorviewModelContext - the ViewModelContext used for the current viewCopyright © 2020. All rights reserved.