Skip to main content



      Home
Home » Eclipse Projects » JFace » Binding text on button(Binding text on button with string attribute)
Binding text on button [message #786417] Mon, 30 January 2012 06:53 Go to next message
Eclipse UserFriend
Hello, everyone. I need to bind my text attribute with radio-button text, what I should use? Can u give me an example
Re: Binding text on button [message #810369 is a reply to message #786417] Wed, 29 February 2012 21:37 Go to previous message
Eclipse UserFriend
Either I don't understand your question or your question is too simple.

If you want to bind the text property of a button, you may proceed as follow:

Text text;
[...]
WritableValue observable = new WritableValue();
observable.setValue("the text value");
dbc.bindValue(WidgetProperties.text().observe(text), observable);

Previous Topic:Where/How can I post my improvement suggestion
Next Topic:tree viewer, cell multi selection not highlighted.
Goto Forum:
  


Current Time: Sun Jul 13 09:04:55 EDT 2025

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

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

Back to the top