Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding an entry to Eclipse's Search Menu
<extension point="org.eclipse.ui.actionSets">
<actionSet
description="Scaps Search Actions"
id="org.scala-search.actionSet"
label="Scaps Search Actions"
visible="true">
<menu
label="Search"
path="navigate"
id="org.eclipse.search.menu">
<groupMarker name="internalDialogGroup"/> <!-- not to be used by clients -->
<groupMarker name="dialogGroup"/> <!-- to be used by clients -->
<separator name="fileSearchContextMenuActionsGroup"/> <!-- to be used by clients -->
<separator name="contextMenuActionsGroup"/> <!-- to be used by clients -->
<separator name="occurencesActionsGroup"/> <!-- to be used by clients -->
<separator name="extraSearchGroup"/> <!-- to be used by clients -->
</menu>
<action
class="TestAction"
enablesFor="*"
id="org.scala-refactoring.actions.OpenScalaSearchDialog"
label="Scala..."
menubarPath="org.eclipse.search.menu/dialogGroup"
style="push">
</action>
</actionSet>
</extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.