Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » change the behavior of another XWT component (Please help me)
change the behavior of another XWT component [message #519533] Tue, 09 March 2010 09:09 Go to next message
wilsontan81 is currently offline wilsontan81Friend
Messages: 18
Registered: March 2010
Junior Member
Hi guys,

Do you have any idea how to change the behavior of another XWT component?

For example, in the XWT file, I have two components, which are text box and button.
If I click on the button, I want it to clear the content in the text box.

Your help would be greatly appreciated.
Re: change the behavior of another XWT component [message #519581 is a reply to message #519533] Tue, 09 March 2010 11:26 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 756
Registered: July 2009
Senior Member
Yes, this concept (triggers) is supported by xwt.
Though, I am not sure if this specific behavior is already mapped in xwt.

Checkout the tests bundle (org.eclipse.e4.xwt.tests)...
There is a package that demonstrates the use of triggers.
Re: change the behavior of another XWT component [message #520830 is a reply to message #519581] Mon, 15 March 2010 14:05 Go to previous message
wilsontan81 is currently offline wilsontan81Friend
Messages: 18
Registered: March 2010
Junior Member
thank you
Previous Topic:Load XWT from a string in memory
Next Topic:change the behavior of another XWT component
Goto Forum:
  


Current Time: Fri Nov 28 13:43:57 GMT 2014

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

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