Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Filtering action using in org.eclipse.ui.activities
Filtering action using in org.eclipse.ui.activities [message #849797] Thu, 19 April 2012 13:08 Go to next message
Sreeram R is currently offline Sreeram RFriend
Messages: 2
Registered: July 2009
Junior Member

I want to filter out "Use Step Filters" view action from Debug view using "org.eclipse.ui.activities" extension point. This action is contributed by "org.eclipse.debug.ui" plugin with "id=org.eclipse.debug.ui.
actions.ToggleStepFilters".

I tried using this extension point, say,

<extension
point="org.eclipse.ui.activities">
<activity
id="com.test.debug.ui.activity1"
name="XYZ1">
</activity>
<activityPatternBinding
activityId="com.test.debug.ui.activity1"
pattern="org\.eclipse\.debug\.ui/org\.eclipse\.debug\.ui\.actions\.ToggleStepFilters">
</activityPatternBinding>
<category
id="com.test.debug.ui.category1"
name="XYZ">
</category>
<categoryActivityBinding
activityId="com.test.debug.ui.activity1"
categoryId="com.test.debug.ui.category1">
</categoryActivityBinding>
</extension>

But this is not filtering the action from view. I have verified in preference page General -> Capabilities, the defined category "XYZ" is unchecked.

Is there anything which I am missing here?

Sreeram R
Re: Filtering action using in org.eclipse.ui.activities [message #855056 is a reply to message #849797] Tue, 24 April 2012 13:42 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Activities are inclusive, in that if any activity is true an item is visible. The "Development" capability includes activities for Debug. Even if you try and disable one, as long as the general Debug activity is true it will still be visible.

PW


Previous Topic:[Solved] Getting project in implementation of ISpellingEngine
Next Topic:Insert command toolbar button to action set
Goto Forum:
  


Current Time: Fri Dec 19 22:44:30 GMT 2014

Powered by FUDForum. Page generated in 0.01554 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software