[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: how to create a button?
|
See ControlContributionItem. You may end up copying hte inmplementation of
this class because you cannot resize the item dynamically.
"Veronika Irvine" <veronika_irvine@xxxxxxx> wrote in message
news:b865hc$4qf$1@xxxxxxxxxxxxxxxx
> In SWT, the following snippet illustrates how to add a combo box to a
> toolbar. Adding a button is very similar:
>
>
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/sn
> ippits/snippet58.html
>
> Eclipse, however, may have some wrapper for doing this - to find out about
> the Eclipse wrapper, you should ask your question in the eclipse.platform
> newsgroup.
>
> "huy" <illusion@xxxxxxxxxxx> wrote in message
> news:b864bn$3p5$1@xxxxxxxxxxxxxxxx
> > hello!
> > i'm newbie so i don't know how eclipse works!!
> > i want to create a button on tool bar so can you help me please?
> > thanks
> >
>
>