|
Re: Problem with toolbar button activation [message #489122 is a reply to message #489003] |
Thu, 01 October 2009 14:49 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
Hi Sneha,
When you say it becomes deactivated do you mean disabled? If so then this
sounds like something that the RCP platform is doing to you, presumably
based on something in your plug-in. You should ask this on the
eclipse.platform.rcp newsgroup, and be sure to provide a way for someone to
reproduce your case. My guess is that it's a bug in your app since I have
not heard of others encountering this problem.
Grant
"sneha" <sneha29@gmail.com> wrote in message
news:ha1o2g$4q7$1@build.eclipse.org...
>
> Hi,
>
> I am developing RCP application. In this I have created a view with
> toolbar. The toolbar contains some items: zoom in, zoom out etc.
> actions are added to the toolbar using the IToolbarManager and IActionBar.
>
> When I click on the zoom in icon, the diagram in my view is zoomed in on
> first click.
> However after that, the toolbar icon becomes deactivated (if we don't
> move the mouse).
> In order to activate the zoom in icon, we need to move the mouse out of
> the icon area and then back on the icon. This activates the icon.
>
> This is not the expected behavior.
> Expected behavior is same as observed for toolbar icons in Eclipse:
> When we click on any toolbar icon, multiple clicks (without moving the
> mouse) should not deactivate the icons and the actions corresponding to
> the icon, should get executed.
>
> Can anyone help me with this problem?
>
> -Thanks,
> Sneha
|
|
|
Powered by
FUDForum. Page generated in 0.02868 seconds