Bug 528894 - Generalize the "Delete Hook" mechanism to all dialects
Summary: Generalize the "Delete Hook" mechanism to all dialects
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 5.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-12-18 09:30 EST by Pierre-Charles David CLA
Modified: 2017-12-19 03:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.