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

Difference between revisions of "Artifact Component Change Listener"

(Created page with "{{backlink|Tigerstripe Extension Points}} *Full name : org.eclipse.tigerstripe.workbench.ui.base.artifactChangeListener Purpose : This point can be used to listen for chang...")
 
Line 3: Line 3:
 
*Full name : org.eclipse.tigerstripe.workbench.ui.base.artifactChangeListener  
 
*Full name : org.eclipse.tigerstripe.workbench.ui.base.artifactChangeListener  
  
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 Strerotype 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.
  
 
*Usage :
 
*Usage :
Line 13: Line 13:
 
org.eclipse.tigerstripe.workbench.ui.internal.editors.artifacts.IArtifactChangeListener.  
 
org.eclipse.tigerstripe.workbench.ui.internal.editors.artifacts.IArtifactChangeListener.  
  
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 07:52, 14 February 2017

< To: Tigerstripe Extension Points

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

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.IArtifactChangeListener.

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!

Back to the top