Scandinave
Scandinave

Reputation: 1438

Add menu entry to Configure menu in Eclipse

I develop an Eclipse plug-in and I need to add an entry to the Configure menu. I don't find any way to do this.

My plug-in extension look like this:

<extension
     point="org.eclipse.ui.menus">
  <menuContribution
        allPopups="true"
        locationURI="menu:org.eclipse.ui.projectConfigure?after=org.eclipse.m2e.enableNatureAction">
     <command
           commandId="org.tatami.commands.commandConfigure"
           label="Convert to Tatami Project"
           style="push">
     </command> tooltip="Convert to Tatami Project">
  </menuContribution>


</extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="tatami.commands.ConfigureHandler"
            description="Ajouter le framework de test Tatami au Projet"
            id="org.tatami.commands.commandConfigure"
            name="Convert to Tatami Project">
      </command>
   </extension>

Do you find any error in my code?

Upvotes: 2

Views: 229

Answers (1)

flafoux
flafoux

Reputation: 2110

did you find any error when starting ?

You could try :

locationURI="popup:org.eclipse.ui.projectConfigure?after=additions">

Upvotes: 2

Related Questions