matching org.eclipse.ui.ide actions in activity [message #327029] |
Mon, 07 April 2008 09:23 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
Hi,
I'm trying to match org.eclipse.ui.ide/revert action (visible under
File->Revert) in activityPatternBinding to remove this action from File
menu, but without success.
Does anybody have idea how to do this?
This action is created in WorkbenchActionBuilder as WorkbenchCommandAction.
I have the following in plugin.xml:
<extension
point="org.eclipse.ui.activities">
<activityPatternBinding
activityId="plugin.activity1"
isEqualityPattern="true"
pattern="org.eclipse.ui.ide/revert">
</activityPatternBinding>
<activity
id="plugin.activity1"
name="Example activity">
</activity>
<defaultEnablement
id="plugin.defaultEnablement1">
</defaultEnablement>
<category
id="plugin.category2"
name="Example category">
</category>
<categoryActivityBinding
activityId="plugin.activity1"
categoryId="plugin.category2">
</categoryActivityBinding>
</extension>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03426 seconds