Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

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>

Back to the top