Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ToolItem programmatic selection problem
ToolItem programmatic selection problem [message #126894] Thu, 02 April 2009 15:54 Go to next message
Howard is currently offline HowardFriend
Messages: 29
Registered: July 2009
Junior Member
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 09:15 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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 16:42 Go to previous message
Howard is currently offline HowardFriend
Messages: 29
Registered: July 2009
Junior Member
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: Wed Dec 08 13:58:02 GMT 2021

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

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

Back to the top