Jump to: navigation, search

Difference between revisions of "EMF Search UI Extensibility---org.eclipse.emf.search.ui.openDiagramParticipants"

(New page: = org.eclipse.emf.search.ui.openDiagramParticipants = User wanting to register a particular diagram editor as participant to open action must extend this extension point. As result user w...)
 
(org.eclipse.emf.search.ui.openDiagramParticipants)
 
Line 5: Line 5:
 
  * '''id''' - unique open diagram participant handler ID
 
  * '''id''' - unique open diagram participant handler ID
 
  * '''openDiagramHandler''' - open diagram handler which have responsability to handle a diagram editor opening from a given meta element selection
 
  * '''openDiagramHandler''' - open diagram handler which have responsability to handle a diagram editor opening from a given meta element selection
 +
 +
 +
<source lang="xml">
 +
  <extension
 +
        point="org.eclipse.emf.search.ui.openDiagramParticipants">
 +
      <diagramParticipant
 +
      id="http://www.eclipse.org/uml2/2.1.0/UML"
 +
            openDiagramHandler="org.eclipse.uml2.diagram.clazz.search.handlers.OpenUML2ClassDiagramHandler">
 +
      </diagramParticipant>
 +
  </extension>
 +
</source>

Latest revision as of 09:47, 25 April 2008

org.eclipse.emf.search.ui.openDiagramParticipants

User wanting to register a particular diagram editor as participant to open action must extend this extension point. As result user wanting selecting open in diagram option for given meta element will have all registred participant offered as possible selection.

* id - unique open diagram participant handler ID
* openDiagramHandler - open diagram handler which have responsability to handle a diagram editor opening from a given meta element selection


   <extension
         point="org.eclipse.emf.search.ui.openDiagramParticipants">
      <diagramParticipant
      		id="http://www.eclipse.org/uml2/2.1.0/UML"
            openDiagramHandler="org.eclipse.uml2.diagram.clazz.search.handlers.OpenUML2ClassDiagramHandler">
      </diagramParticipant>
   </extension>