Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ToolItem programmatic selection problem
ToolItem programmatic selection problem [message #126894] Thu, 02 April 2009 11:54 Go to next message
Eclipse UserFriend
I have a toolbar with some toolItems in RADIO style as a navigation aid.
Kinda like a tab folder but instead the toolItem marks what page you are
on. Only one item should stays "pressed".
In my program I need to programmatically navigate to another page, so I
would unselect the current item and select the new item. This works fine
in SWT, but in RAP the setSelection calls doesn't cause the item to change
graphically. Is this a bug or am I missing something?

Thanks,
Howard
Re: ToolItem programmatic selection problem [message #127038 is a reply to message #126894] Fri, 03 April 2009 05:15 Go to previous messageGo to next message
Eclipse UserFriend
Howard,

if it works in SWT, it is most certainly a bug. Feel free to open a
bugzilla. In the meanwhile, did you consider using TOGGLE Buttons?

Cheers,
Rüdiger

Howard wrote:
> I have a toolbar with some toolItems in RADIO style as a navigation aid.
> Kinda like a tab folder but instead the toolItem marks what page you are
> on. Only one item should stays "pressed".
> In my program I need to programmatically navigate to another page, so I
> would unselect the current item and select the new item. This works
> fine in SWT, but in RAP the setSelection calls doesn't cause the item to
> change graphically. Is this a bug or am I missing something?
>
> Thanks,
> Howard
>
Re: ToolItem programmatic selection problem [message #127146 is a reply to message #127038] Fri, 03 April 2009 12:42 Go to previous message
Eclipse UserFriend
Done. Bug ID 271152.

I suppose it would be okay to change the ToolBar/ToolItems to
Composite/Buttons, since the "ToolBar" currently doesn't do much else. I
will give that a shot if I get time to fix this issue. Thanks for the
suggestion.

Cheers,
Howard
Previous Topic:The question of group
Next Topic:Session timeout page not showing in IE6
Goto Forum:
  


Current Time: Fri Jul 04 14:30:20 EDT 2025

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

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

Back to the top