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 09:07
Mo P. is currently offline Mo P.
Messages: 24
Registered: July 2010
Junior Member
Hello,

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="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"
x:Class="de.euroimmun.transferprojekt.Test" text="XWT Application">
<Shell.layout>
<RowLayout />
</Shell.layout>
<Button x:Style="CHECK" text="Check Button" x:Name="check1" />
<Button x:Style="CHECK" text="Check Button" x:Name="check2" />
<Shell.triggers>
<Trigger sourceName="check1" property="Selection" value="true">
<Setter targetName="check2" property="Text" value="Selected"/>
</Trigger>
</Shell.triggers>
</Shell>

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.

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


Current Time: Mon Jul 28 20:50:23 EDT 2014

Powered by FUDForum. Page generated in 0.01788 seconds