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...")
 
m (Rcraddoc.cisco.com moved page Artifact Change Listener to Artifact Component Change Listener: Correcting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{backlink|Tigerstripe Extension Points}}
 
{{backlink|Tigerstripe Extension Points}}
  
*Full name : org.eclipse.tigerstripe.workbench.ui.base.artifactChangeListener
+
*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 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 11: Line 11:
 
''class'' : The class must implement :
 
''class'' : The class must implement :
  
org.eclipse.tigerstripe.workbench.ui.internal.editors.artifacts.IArtifactChangeListener.  
+
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!

Latest revision as of 14:10, 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!

Back to the top