Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Post Create Action

< To: Tigerstripe Extension Points

  • Full name : org.eclipse.tigerstripe.workbench.ui.base.postCreateAction

Purpose : This extension point allows the specification of actions to be taken on an artifact immediately after it is created. An example use case would be to add a specific Stereotype to an artifact if it meets certain conditions. Remember that immediately after creation there are limited elements of the artifact - mainly just the Type, but for Associations, the ends will be set.

  • Usage :

The extension point supports any number of new actions, each of which has just 1 attribute: "class" - This is the name of a class that must implement the IArtifactPostCreateAction interface.

The IArtifactPostCreateAction interface has onemethods : void execute(IAbstractArtifact artifact);

The behaviour should be self-explanatroy!

Back to the top