public interface TableControlService
TableControlSWTRenderer
to customize button behaviour.Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
createNewElement(org.eclipse.emf.ecore.EClass clazz,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
This method is called by the
TableControlSWTRenderer when the add button was pressed. |
void |
doubleClick(VTableControl table,
org.eclipse.emf.ecore.EObject eObject)
Called when an object in the table is double clicked.
|
Optional<org.eclipse.emf.ecore.EObject> createNewElement(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
TableControlSWTRenderer
when the add button was pressed. Implementors are
supposed to create a new element but not yet add it to the multireference.clazz
- the EClass
defining the EObject to createeObject
- The reference EObject
structuralFeature
- The reference EStructuralFeature
void doubleClick(VTableControl table, org.eclipse.emf.ecore.EObject eObject)
table
- the table controleObject
- the object which was double clickedCopyright © 2018. All rights reserved.