public interface TableControlService
TableControlSWTRendererto customize button behaviour.
|Modifier and Type||Method and Description|
This method is called by the
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)
TableControlSWTRendererwhen the add button was pressed. Implementors are supposed to create a new element but not yet add it to the multireference.
EClassdefining the EObject to create
eObject- The reference
structuralFeature- The reference
void doubleClick(VTableControl table, org.eclipse.emf.ecore.EObject eObject)
table- the table control
eObject- the object which was double clicked
Copyright © 2018. All rights reserved.