Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsToolItem programmatic selection problem
https://www.eclipse.org/forums/index.php/mv/msg/39031/126894/#msg_126894
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]]>Howard2009-04-02T15:54:52-00:00Re: ToolItem programmatic selection problem
https://www.eclipse.org/forums/index.php/mv/msg/39031/127038/#msg_127038
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
>]]>RĂ¼diger Herrmann2009-04-03T09:15:35-00:00Re: ToolItem programmatic selection problem
https://www.eclipse.org/forums/index.php/mv/msg/39031/127146/#msg_127146
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.