[HowTo] make action set appear in some perspectives but not others? [message #453057] |
Thu, 20 July 2006 13:20  |
Eclipse User |
|
|
|
R3.1.2, WinXP
The help-docs,
http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench_advext_perspectiveExtension .htm
say that:
<< The actionSet parameter identifies the id of a previously declared action set that should be
added to the target perspective. This markup is analogous to using IPageLayout.addActionSet in the
IPerspectiveFactory. >>
I thought this would be the way to get an action set to appear in some perspectives but not others.
But It does not seem to do anything at all.
I have two perspectives, Q and D (let's say), and in Q I want actionset A to appear, but in D I do
not want it to appear. After adding the markup as below, and even after running with -clean, the
actionset A still appears.
Any ideas on how to do what I want?
Paul
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension targetID="com.mun.ist.perspectiveQ">
<actionSet id="com.mun.ist.actionSetA"/>
</perspectiveExtension>
</extension>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08092 seconds