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.modelSearchPageActionContribution

org.eclipse.emf.search.ui.modelSearchPageActionContribution

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

* action - org.eclipse.emf.search.ui.actions.AbstractModelSearchPageAction
* id - unique model search result page action ID
* targetMenuID - already contributed model search page result menu ID
* targetMetaModelID - target meta model ID for which action has to be contextually displayed
* icon - action icon
 <extension
         point="org.eclipse.emf.search.ui.modelSearchPageActionContribution">
      <!-- Navigation Actions -->
      <actionContribution
            action="org.eclipse.emf.search.genmodel.ui.actions.GoToGeneratedCodeAction"
            id="org.eclipse.emf.search.genmodel.ui.GoToCodeActionContribution"
			targetMetaModelID="http://www.eclipse.org/emf/2002/GenModel"
			targetMenuID="org.eclipse.emf.search.genmodel.ui.menu.GenModelNavigation">
      </actionContribution>
      <actionContribution
            action="org.eclipse.emf.search.genmodel.ui.actions.GoToEcoreMetaModelAction"
            id="org.eclipse.emf.search.genmodel.ui.GoToEcoreMetaModelActionContribution"
			targetMetaModelID="http://www.eclipse.org/emf/2002/GenModel"
			targetMenuID="org.eclipse.emf.search.genmodel.ui.menu.GenModelNavigation">
      </actionContribution>
 </extension>

Back to the top