public class EAttributeCellEditHandler extends java.lang.Object implements AdapterFactoryCellFactory.ICellEditHandler
EAttribute
Constructor and Description |
---|
EAttributeCellEditHandler(org.eclipse.emf.ecore.EAttribute attribute,
org.eclipse.emf.edit.domain.EditingDomain editingDomain)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
cancelEdit(javafx.scene.control.Cell<?> treeCell)
Delegate for
Cell.cancelEdit() |
boolean |
canEdit(javafx.scene.control.Cell<?> cell)
Whether editing treeCell can be handled
|
void |
commitEdit(javafx.scene.control.Cell<?> treeCell,
java.lang.Object newValue)
Delegate for
Cell.commitEdit(Object) |
void |
startEdit(javafx.scene.control.Cell<?> cell)
Delegate for
Cell.startEdit() |
public EAttributeCellEditHandler(org.eclipse.emf.ecore.EAttribute attribute, org.eclipse.emf.edit.domain.EditingDomain editingDomain)
attribute
- the attributeeditingDomain
- the editing domainpublic boolean canEdit(javafx.scene.control.Cell<?> cell)
AdapterFactoryCellFactory.ICellEditHandler
canEdit
in interface AdapterFactoryCellFactory.ICellEditHandler
cell
- the celltrue
if editablepublic void startEdit(javafx.scene.control.Cell<?> cell)
AdapterFactoryCellFactory.ICellEditHandler
Cell.startEdit()
startEdit
in interface AdapterFactoryCellFactory.ICellEditHandler
cell
- the cellpublic void cancelEdit(javafx.scene.control.Cell<?> treeCell)
AdapterFactoryCellFactory.ICellEditHandler
Cell.cancelEdit()
cancelEdit
in interface AdapterFactoryCellFactory.ICellEditHandler
treeCell
- the cellpublic void commitEdit(javafx.scene.control.Cell<?> treeCell, java.lang.Object newValue)
AdapterFactoryCellFactory.ICellEditHandler
Cell.commitEdit(Object)
commitEdit
in interface AdapterFactoryCellFactory.ICellEditHandler
treeCell
- the cellnewValue
- the new value