Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Swordfish Capabilities

Revision as of 11:28, 3 May 2010 by Zsolt.beothy-elo.sopera.de (Talk | contribs) (Progressive Discover Strategy added)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Capability/Activity Definitions

This page is intended to document how to provide basic capability/activity definitions to allow for Swordfish Tooling UI contributions to be hidden. Swordfish tooling is subsumed in the org.eclipse.swordfish.tooling.feature feature, all other swordfish features are only relevant for runtime and do not contain any UI contributions.

The following snippet binds all Swordfish tooling related UI contributions to the "org.eclipse.swordfish.tooling.ui" activity.

<extension point="org.eclipse.ui.activities">
  <activity
      description="Use Swordfish to develop Web Service consumers and providers."
      id="org.eclipse.swordfish.tooling.ui"
      name="Swordfish Development">
  </activity>
 
  <activityPatternBinding
      activityId="org.eclipse.swordfish.tooling.ui"
      pattern="org\.eclipse\.swordfish\.tooling\.ui/.*"/>
  <activityPatternBinding
      activityId="org.eclipse.swordfish.tooling.ui"
      pattern="org\.eclipse\.swordfish\.registry\.tooling/.*"/>
</extension>

To allow the user to manually configure conventional activities you need to bind your activities to a category which is then shown in the Capabilities dialog. The following snippet defines an exemplary SOA category to which our Swordfish activity is bound.

<extension point="org.eclipse.ui.activities">
  <category
      description="Capabilities related to SOA development."
      id="org.eclipse.soa.Category"
      name="SOA Development"/>
 
  <categoryActivityBinding
      activityId="org.eclipse.swordfish.tooling.ui"
      categoryId="org.eclipse.soa.Category" />
</extension>

For the samples we used real names and descritions for illustartive pusposes. In your plugin.xml of course you should externalize them.

More detailed information how to define capabilities can be found in the Help

Progressive Discover Strategy

Swodfish does not currently provide any "progressive discovery" trigger points.

Back to the top