Jump to: navigation, search

EMF Search UI Extensibility---org.eclipse.emf.search.ui.modelSearchPageMenuContribution

Revision as of 09:37, 25 April 2008 by Lucas.bigeardel.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>