Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » XWT Triggers and Eclipse Helios
XWT Triggers and Eclipse Helios [message #578876] Tue, 20 July 2010 09:07
Eclipse UserFriend
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: Fri Jul 04 04:29:19 EDT 2025

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

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

Back to the top