actionSetPartAssociations wont work to hide action set [message #441491] |
Tue, 03 January 2006 13:25  |
Eclipse User |
|
|
|
Originally posted by: michael.lipton.gmail.com
Hello,
I have done extensive research on the use of actionSets and actionSetPartAssociations and think that I am using the extension points properly, but it doesn't seem to be working.
I would like my "print" and "send to personal window" options only to be visible when the CreateNewContactView or SearchContactViews are active.
Does anyone see anything wrong with this?
is there anything i'm missing?
anything else that could be wrong???
thanks in advance for your help.
mike
---------------------------------
Here is a clip from my plugin.xml
<extension
point="org.eclipse.ui.actionSets">
<actionSet
description="actions associated with contact entries"
id="contactEntryActionSet"
label="contact entry action set"
visible="true">
<action
class="PrintAction"
id="contactEntry.print"
label="Print"
menubarPath="file/additions"
style="push"
/>
<action
class="AddToPersonalWindowAction"
id="contactEntry.sendToPW"
label="Send to Personal Window"
menubarPath="file/additions"
style="push"/>
</actionSet>
</extension>
<extension
point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation targetID="contactEntryActionSet">
<part id="CreateNewContactView"/>
<part id="SearchView"/>
</actionSetPartAssociation>
</extension>
--
View in EZ forum: http://www.eclipsezone.com/eclipse/forums/m91978790.html
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11836 seconds