Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT Triggers and Eclipse Helios
XWT Triggers and Eclipse Helios [message #578876] Tue, 20 July 2010 13:07
Mo P. is currently offline Mo P.Friend
Messages: 24
Registered: July 2010
Junior Member

actually I would like to develop an SWT application under Eclipse Helios with XWT support, which works fine. But I am not able to get the "UI Trigger" to work.
My .xwt file looks like this:

<Shell xmlns="" xmlns:x=""
x:Class="de.euroimmun.transferprojekt.Test" text="XWT Application">
<RowLayout />
<Button x:Style="CHECK" text="Check Button" x:Name="check1" />
<Button x:Style="CHECK" text="Check Button" x:Name="check2" />
<Trigger sourceName="check1" property="Selection" value="true">
<Setter targetName="check2" property="Text" value="Selected"/>

The trigger doesn't do anything at all. Is it possible to use triggers in a plain SWT application? I would also like to use CSS Styles - all tutorials I found are like e4 plugins. Is this also possible under Eclipse Helios?

Thanks in advance.

Previous Topic:XWT Meta Model
Next Topic:DateChooser component databinding
Goto Forum:

Current Time: Thu Nov 26 16:21:51 GMT 2015

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

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