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.
Difference between revisions of "Artifact Component Change Listener"
Line 1: | Line 1: | ||
{{backlink|Tigerstripe Extension Points}} | {{backlink|Tigerstripe Extension Points}} | ||
− | *Full name : org.eclipse.tigerstripe.workbench.ui.base. | + | *Full name : org.eclipse.tigerstripe.workbench.ui.base.artifactComponentChangeListener |
Purpose : 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, where it can be used to check for attribute re-naming, type changes etc, and can update Strereotype text as a result. | Purpose : 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, where it can be used to check for attribute re-naming, type changes etc, and can update Strereotype text as a result. | ||
Line 11: | Line 11: | ||
''class'' : The class must implement : | ''class'' : The class must implement : | ||
− | org.eclipse.tigerstripe.workbench.ui.internal.editors.artifacts. | + | org.eclipse.tigerstripe.workbench.ui.internal.editors.artifacts.IArtifactComponentChangeListener. |
An ArtifactEditor will, when it is opened, create an instance of each Listener that is defined in the Ext point, and will destroy that instance on closing. Through the calls to this interface, you can specify your behaviour as necessary. | An ArtifactEditor will, when it is opened, create an instance of each Listener that is defined in the Ext point, and will destroy that instance on closing. Through the calls to this interface, you can specify your behaviour as necessary. | ||
Be aware of possible performance issues! | Be aware of possible performance issues! |
Revision as of 14:09, 15 February 2017
< To: Tigerstripe Extension Points
- Full name : org.eclipse.tigerstripe.workbench.ui.base.artifactComponentChangeListener
Purpose : 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, where it can be used to check for attribute re-naming, type changes etc, and can update Strereotype text as a result.
- Usage :
There is just one element :
class : The class must implement :
org.eclipse.tigerstripe.workbench.ui.internal.editors.artifacts.IArtifactComponentChangeListener.
An ArtifactEditor will, when it is opened, create an instance of each Listener that is defined in the Ext point, and will destroy that instance on closing. Through the calls to this interface, you can specify your behaviour as necessary.
Be aware of possible performance issues!