public final class CellEditorFactory extends Object
cell editors for the
MultiAttributeSWTRenderer.| Modifier and Type | Field and Description |
|---|---|
static CellEditorFactory |
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jface.viewers.CellEditor |
createCellEditor(org.eclipse.emf.ecore.EAttribute multiAttribute,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.swt.widgets.Table table,
ViewModelContext viewModelContext)
Creates a new
CellEditor for the given arguments. |
public static final CellEditorFactory INSTANCE
public org.eclipse.jface.viewers.CellEditor createCellEditor(org.eclipse.emf.ecore.EAttribute multiAttribute,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.swt.widgets.Table table,
ViewModelContext viewModelContext)
CellEditor for the given arguments. If no fitting CellEditor is found at the
extension point or if there was an exception during the creation a TextCellEditor will be returned as a
default.multiAttribute - the feature which is displayed by the
MultiAttributeSWTRenderereObject - the EObjecttable - the TableviewModelContext - the ViewModelContextECPCellEditor or a TextCellEditor as a fallbackCopyright © 2018. All rights reserved.