Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » strange menu/toolbar behavior
strange menu/toolbar behavior [message #263225] Thu, 22 July 2004 11:24 Go to next message
Eclipse UserFriend
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="&amp;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 Go to previous message
Eclipse UserFriend
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="&amp;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
>
>
Previous Topic:No sorting called on TableViewer.update()
Next Topic:Splash-Screen does't appear
Goto Forum:
  


Current Time: Sun May 25 03:21:47 EDT 2025

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

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

Back to the top