Skip to main content
Jump to: navigation, search

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

(org.eclipse.emf.search.ui.modelSearchPageMenuContribution)
(org.eclipse.emf.search.ui.modelSearchPageMenuContribution)
 
Line 9: Line 9:
 
  * '''targetMetaModelID''' - target meta model ID for which action has to be contextually displayed
 
  * '''targetMetaModelID''' - target meta model ID for which action has to be contextually displayed
  
<source lang="">
+
<source lang="xml">
 
   <extension
 
   <extension
 
         point="org.eclipse.emf.search.ui.modelSearchPageMenuContribution">
 
         point="org.eclipse.emf.search.ui.modelSearchPageMenuContribution">

Latest revision as of 09:37, 25 April 2008

org.eclipse.emf.search.ui.modelSearchPageMenuContribution

Users wanting to contribute custom menus to model search result page must use this extnsion point.

* id - unique model search result page menu ID
* label - model search result page menu label
* order - order index number representing menu position among all contributed search result page menus
* image - menu icon image resource
* targetMetaModelID - target meta model ID for which action has to be contextually displayed
   <extension
         point="org.eclipse.emf.search.ui.modelSearchPageMenuContribution">
      <!-- Navigation Actions -->
      <menuContribution
            id="org.eclipse.emf.search.genmodel.ui.menu.GenModelNavigation"
			label="%ModelSearchPageMenuContribution.GenModel2Code.Menu.Label"
			order="0"
			targetMetaModelID="http://www.eclipse.org/emf/2002/GenModel"
			image="icons/full/obj16/gsearch.gif">
      </menuContribution>
 </extension>

Copyright © Eclipse Foundation, Inc. All Rights Reserved.