<menuContribution
allPopups="false"
locationURI="popup:common.new.menu?after=additions">
<command
commandId="newproproject"
label="My PRO Application Debug"
style="push">
</command>
</menuContribution>
我想在红框中添加新命令。 但我不知道locationURI。 我试着做“ALT + Shift + F2”。 但我不知道。
有什么locationUri?
答案 0 :(得分:0)
这不起作用。
这是另一个延伸点。我也对此表示不满。
它必须如下所示:
<plugin>
<extension point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="com.example..launch.ExampleLaunchConfigurationDelegate"
id="com.example.launch"
modes="run, debug"
name="MyLauncher">
</launchConfigurationType>
</extension>
</plugin>
您必须在Delegateclass中实现 ILaunchConfigurationDelegate 。