0

既存のメニューにメニューを追加するプラグインを作成しました (Hello, World コマンドを使用)

テスト中に実行すると、ランタイム runtime-EclipseApplication が作成され、メニューとコマンドが表示されました。しかし、エクスポート ウィザードからインストールすると、メニューが表示されませんでした。

この問題をデバッグするログはありません。

同じタイプのプラグイン (Hello, World コマンドを使用) が既にインストールされています。それは何か問題を引き起こしますか

これは plugin.xml です

    <?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
     point="org.eclipse.ui.commands">
      <category
        name="Sample Category"
        id="CheckList.commands.category">
      </category>
      <command
        name="Create Checklist"
        categoryId="CheckList.commands.category"
        id="CheckList.commands.sampleCommand">
      </command>
   </extension>
   <extension       
     point="org.eclipse.ui.handlers">
      <handler
        commandId="CheckList.commands.sampleCommand"
        class="checklist.handlers.createChecklistHandler">
      </handler>
   </extension>
   <extension
     point="org.eclipse.ui.bindings">
      <key
        commandId="CheckList.commands.sampleCommand"
        contextId="org.eclipse.ui.contexts.window"
        sequence="M1+8"
        schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </key>
   </extension>
   <extension
     point="org.eclipse.ui.menus">
      <menuContribution
        locationURI="menu:org.eclipse.ui.main.menu?after=additions">
         <menu
           label="Create Checklist"
           mnemonic="M"
           id="CheckList.menus.sampleMenu">
            <command
              commandId="CheckList.commands.sampleCommand"
              mnemonic="C"
              id="CheckList.menus.sampleCommand">
            </command>
         </menu>
      </menuContribution>
      <menuContribution
        locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
         <toolbar
           id="CheckList.toolbars.sampleToolbar">
            <command
              commandId="CheckList.commands.sampleCommand"
              icon="icons/sample.gif"
              tooltip="Create migration Checklist"
              id="CheckList.toolbars.sampleCommand">
            </command>
         </toolbar>
      </menuContribution>
   </extension>

</plugin>
4

1 に答える 1