Bug 528894

Summary: Generalize the "Delete Hook" mechanism to all dialects
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel
Version: 5.0.0Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Pierre-Charles David CLA 2017-12-18 09:30:06 EST
The org.eclipse.sirius.business.api.delete.IDeleteHook interface and corresponding extension point (org.eclipse.sirius.deleteHook) are defined in the core plug-in but can only be configured from diagram descriptions (see org.eclipse.sirius.diagram.description.tool.DeleteHook, org.eclipse.sirius.diagram.description.tool.DeleteElementDescription.getHook() and org.eclipse.sirius.diagram.business.api.helper.delete.DeleteHookHelper). I don't think there's any good reason (other than historical ones) why the mechanism could not be available in other dialects too.