Semantic Browser

By providing queries on Semantic Browser, these queries will be also available as a column on Mass Visualization table or accessible in Title Block.

The extension point is provided by:

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.ui.toolkit.browser.contentProviderCategory">
  <category
      id="org.polarsys.capella.core.semantic.queries.SystemFunctionInvolvingCapabilities"
      isTopLevel="true"
      name="Involving Capabilities">
      <availableForType
         class="org.polarsys.capella.core.data.ctx.SystemFunction">
      </availableForType>
      <targetBrowserId
         id="ReferencingElementBrowser">
      </targetBrowserId>
      <categoryQuery>
      <basicQuery class="org.polarsys.capella.core.semantic.queries.basic.queries.SystemFunctionInvolvingCapabilities">
      </basicQuery>
      </categoryQuery>

      <!-- optional -->
      <itemQueries>
         <basicQuery class="org.polarsys.capella.core.semantic.queries.basic.queries.ExchangesItemExchangeItemElements">
         </basicQuery>
      </itemQueries>
  </category>
</extension>

Detail of the different fields

Sample

For a Functional Exchange, we display its allocated Exchange Items and their data.