[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Adding Text message to the toolbar

On the JFace level you may use org.eclipse.jface.action.ControlContribution.

Regards,
Pavel

"Grant Gayed" <grant_gayed@xxxxxxxxxx> wrote in message news:fvf7j8$maa$1@xxxxxxxxxxxxxxxxxxxx
Hi Swetha,

For an example of adding a Control to a ToolBar (eg.- a Label in your case)
see
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet58.java .
I don't know if there's a jface-level way of doing this or not.


Grant


"Swetha" <swetha@xxxxxxxxxxx> wrote in message news:5469302b549e9bd8616fe1fb16e03d66$1@xxxxxxxxxxxxxxxxxx
Hi All,

Is it possible to add a text message to the toolbar without creating an
action..


  I have a toolbar with three buttons.. I want to add a text message to
the end of the tollbar..

  How can I do this?

Thanks,
Swetha