Filtering out Run and Debug using Activities [message #638047] |
Tue, 09 November 2010 18:11 |
|
Hi,
I'm trying to remove specific menu items from the Run menu in my Eclipse plug-in. But at this point, I just want to see my efforts have *any* effect on the UI. Below is the portion of my plugin.xml having to do with activities. I believe what it should do is hide any menu items contributed by org.eclipse.debug.* And I believe that includes the following menu items:
Run
Debug
Run History
Run As
Run Configurations...
Debug History
Debug As
Debug Configurations...
However my single activity below does not hide these menu items. I see my activity in Window->Preferences->General->Capabilities, and it's disabled. But the code doesn't appear to have any effect on the menu items.
<extension
point="org.eclipse.ui.activities">
<category
description="Contains activities bindings declared in the com.exo.seas plugin"
id="com.exo.seas.activity.category.seas"
name="SEAS Activities">
</category>
</extension>
<extension
point="org.eclipse.ui.activities">
<activity
description="An activity for Debugging capabilities"
id="com.exo.seas.activity.debug"
name="Debug Activity">
</activity>
<categoryActivityBinding
activityId="com.exo.seas.activity.debug"
categoryId="com.exo.seas.activity.category.seas">
</categoryActivityBinding>
<activityPatternBinding
activityId="com.exo.seas.activity.debug"
pattern="org\.eclipse\.debug\..*/.*">
</activityPatternBinding>
</extension>
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06747 seconds