Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » change the behavior of another XWT component
change the behavior of another XWT component [message #569585] Tue, 09 March 2010 04:09 Go to next message
wilsontan81 is currently offline wilsontan81
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 #569641 is a reply to message #569585] Tue, 09 March 2010 06:26 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 700
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 #570613 is a reply to message #569641] Mon, 15 March 2010 10:05 Go to previous message
wilsontan81 is currently offline wilsontan81
Messages: 18
Registered: March 2010
Junior Member
thank you
Previous Topic:change the behavior of another XWT component
Next Topic:Model components should be displayed directly after application start
Goto Forum:
  


Current Time: Wed Apr 16 03:36:47 EDT 2014

Powered by FUDForum. Page generated in 0.01759 seconds