DropDown action with toggle button [message #293095] |
Tue, 18 October 2005 04:07  |
Eclipse User |
|
|
|
Originally posted by: teber.gmx.net
Hy all,
I currently try to create an action
with a drop down list. My problem is
that for the button I need a "toggle"
and not a "push" behaviour.
So if I add the action with an actionset,
I can set the style either to "toggle" or
to "pulldown", but not to both. My first
idea was to split the action into two
separate ones. While the toggle button is
an easy one, the dropdown menu gives
me headache. If I use a ContributionItem
I can easily imlpement it, but cannot
place it next to my toggle button and if
I use the "pulldown" style of a normal
action I have the normal "push" button which
I do not need.
Any ideas?
Regards,
torsten
|
|
|
|
Re: DropDown action with toggle button [message #293108 is a reply to message #293101] |
Tue, 18 October 2005 10:12  |
Eclipse User |
|
|
|
Originally posted by: teber.gmx.net
Douglas Pollock wrote:
> I'm afraid this just isn't really supported. Look at
> ToolItem.createHandle(int) or the ToolItem class javadoc. Even if SWT
> supported it, actionSets don't support it either. Which means you are
> doubly screwed.
>
> In 3.2, this might end up being possible by putting a custom widget into the
> tool bar. But, that's not going to help you now. :(
>
>
thanx for your response douglas.
at least I can safe my time and do no further investigations on this
topic. so I'm thinking about an alternative way...
regards,
torsten
|
|
|
Powered by
FUDForum. Page generated in 0.04704 seconds