strange menu/toolbar behavior [message #263225] |
Thu, 22 July 2004 11:24  |
Eclipse User |
|
|
|
Originally posted by: wim.lemkens.tiscali.be
Sorry if this post came in multiple times. My newsreader did strange so I
had to type it multiple times.
But I think the doubles are removed.
I have a rcp project with a plugin that has a specific menu en toolbar for
his perspective.
When I go to an other perspective the items disappear, but the grey area
zhere the toolbar in is, gets heigher. The can be +-3 toolbars in that
place. When I go back to the perspective the menu is again normal with the
items.
The toolbaritem that disappears is the only one in the toolbar, maybe this
has something to do width it?
This is the part of the plugin.xml
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Custom Preferences menu"
id="xxx.plugintest.actionSet">
<menu
label="Views"
id="viewMenu">
<separator
name="viewGroup">
</separator>
</menu>
<action
toolbarPath="viewGroup"
label="&Reset Views"
tooltip="Reset the 4 3d-viewports"
class="xxx.plugintest.actions.SampleAction"
icon="icons/sample.gif"
menubarPath="viewMenu/viewGroup"
id="xxx.plugintest.actions.SampleAction">
</action>
</actionSet>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="xxx.plugintest.PluginTestPerspective">
<actionSet
id="xxx.plugintest.actionSet">
</actionSet>
</perspectiveExtension>
</extension>
Any idea's what I do wrong?
Thanks,
Wim Lemkens
|
|
|
Re: strange menu/toolbar behavior [message #266031 is a reply to message #263225] |
Mon, 09 August 2004 05:12  |
Eclipse User |
|
|
|
Hallo Wim,
have you found the solution? Seems I have the same problem...
Thanks,
Ilya
Wim Lemkens wrote:
> Sorry if this post came in multiple times. My newsreader did strange so I
> had to type it multiple times.
> But I think the doubles are removed.
>
> I have a rcp project with a plugin that has a specific menu en toolbar for
> his perspective.
> When I go to an other perspective the items disappear, but the grey area
> zhere the toolbar in is, gets heigher. The can be +-3 toolbars in that
> place. When I go back to the perspective the menu is again normal with the
> items.
>
> The toolbaritem that disappears is the only one in the toolbar, maybe this
> has something to do width it?
>
>
> This is the part of the plugin.xml
>
> <extension
> point="org.eclipse.ui.actionSets">
> <actionSet
> label="Custom Preferences menu"
> id="xxx.plugintest.actionSet">
> <menu
> label="Views"
> id="viewMenu">
> <separator
> name="viewGroup">
> </separator>
> </menu>
> <action
> toolbarPath="viewGroup"
> label="&Reset Views"
> tooltip="Reset the 4 3d-viewports"
> class="xxx.plugintest.actions.SampleAction"
> icon="icons/sample.gif"
> menubarPath="viewMenu/viewGroup"
> id="xxx.plugintest.actions.SampleAction">
> </action>
> </actionSet>
> </extension>
> <extension point="org.eclipse.ui.perspectiveExtensions">
> <perspectiveExtension
> targetID="xxx.plugintest.PluginTestPerspective">
> <actionSet
> id="xxx.plugintest.actionSet">
> </actionSet>
> </perspectiveExtension>
> </extension>
>
> Any idea's what I do wrong?
> Thanks,
>
> Wim Lemkens
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03629 seconds