|
What this is
Other links
The source code
<?xml version="1.0" encoding="UTF-8"?>
<cheatsheet title="Test with two perform-when elements">
<intro>
<description>Test cheat sheet
</intro>
<item title="Select a number">
<description>Select a number between one and three.
<command serialization="org.eclipse.ui.dialogs.openMessageDialog(buttonLabel2=Three,title=Number selection,message=Select a number,buttonLabel0=One ,buttonLabel1=Two)" returns="result"/>
<onCompletion>Result is ${result}
</item>
<item title="New Item">
<description>Item with two perform when elements
<perform-when condition="${result}">
<command serialization="CommandSerialization" when="One"/>
<action class="action_class" pluginId="action_plugin_id" when="Two"/>
</perform-when>
<subitem label="New SubItem"/>
</item>
</cheatsheet>
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.