Delete - eclipse-capella/capella GitHub Wiki

Deletion of elements contribution

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>

Detail of the different fields

Sample

When we delete an element, we need to delete its reference into any REC/RPL.

⚠️ **GitHub.com Fallback** ⚠️