XWT Triggers and Eclipse Helios [message #578876] |
Tue, 20 July 2010 09:07 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03071 seconds