Delete - eclipse-capella/capella GitHub Wiki
The extension point is provided by:
- the plug-in org.polarsys.capella.core.model.handler
- and its identifier deleteCommandProvider.
The contribution to the extension point is done in the plugin.xml file of the plugin. Open this file and focus on the plugin.xml tab:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<extension point="org.polarsys.capella.common.menu.dynamic.MDEMenuItemContribution">
<MDEMenuItemContribution
class=""
id="">
</MDEMenuItemContribution>
</extension>
-
class
: a java class inheriting of org.polarsys.capella.core.model.handler.command.IDeleteHelper -
id
: an unique identifier for the contribution
When we delete an element, we need to delete its reference into any REC/RPL.
-
The Java class defining the contribution
-
Its registration within plugin.xml
-
In MANIFEST/MANIFEST.MF file we need to depend on
org.polarsys.capella.core.model.handler