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

Tigerstripe Extension Points

< To: Tigerstripe
Tigerstripe Extension Points

Tigerstripe supports a number of Extension points which can be used to implement site specific behaviour.

Base

Pattern Based Artifact Creation : Use this extension point to specify the " style" of artifacts that can be created from the wizard. You can add default stereotypes, annotations, fields etc to your artifacts, as well as change icons and disable other patterns.

Post Create Action : Use this extension point to perform some action opn an artifact after it has been ceated. As an example, this allows you to add stereotypes to an artifact if it meets certain conditions - such as if it is the child of a specific other artifact.

Custom Artifact Metadata : Use this extension point to customise the look and feel of the artifacts in the UI - change the default icon, or specify a new icon to be used when artifacts have a specific Stereotype for example.

Custom Stereotype Dialogs : Use this to implement a custom Dialog that will guide the user in case of complex choices - eg selecting appropriate values or other model objects.

Artifact Component Change Listener : This point can be used to listen for changes being made in an Artifact editor. It's primary use case is for when editing attributes that might be referenced in Stereotypes.

Custom Audit Rules : Use this to implement rules that are specific to your install eg audit adherence to your project naming conventions.

Tigerstripe Custom Naming Rules : Use this to implement naming conventions that are specific to your install (eg to specify associationEnd names based on the entities to which they are connected).

Tigerstripe Profile Contribution : Use this to "contribute" a Workbench Profile that will become the "Factory Default" profile. You can also choose to prompt users each time they start a session that is not using this profile, giving them the option of returning to defaults.

Tigerstripe Generators Contribution : Use this to contribute a Tigerstripe Generator. The Generator is wrapped up in an eclipse plugin (so can be updated from an update site etc). Generators contributed in this manner are not changeable by the user but can be overridden locally, and can also be usefully debugged (including Java code) using an eclipse runtime.

Tigerstripe Modules Contribution : Use this to contribute a Tigerstripe Module. The Module is a Tigerstripe Model wrapped up in an eclipse plugin (so can be updated from an update site etc). Models contributed in this manner are not changeable by the user but can be overridden locally.

Run All Rules as Local : Setting default value of 'Run All Rules as Local' option.

Property Injector : Use this point to inject values into the generator context using java code that is specific to your organisaion - eg If you use maven, you can inject pom properties into the generator and use that in your templates.

UML2 Import

UML Import Model Trimmer : Can be used to select subsets of the imported file (eg by ignoring elements with "private" Stereotypes).

UML Import Model Mapper  : Can be used to specify how UML2 Classes map to Tigerstripe Artifacts (eg using Stereotypes to drive the mapping).

SID Import Mappings : An example usage of the above extensions used for the TMForum.

"Post-Generation" Extension Point

Post-Generation Extension Point : Can be used to run custom post-generation work.

Back to the top