43 lines
3.0 KiB
Plaintext
43 lines
3.0 KiB
Plaintext
|
|
<!-- Warning: SWT exhibits odd layout behavior when the tool items have a mix of text and images. Text is always placed below images, but one item with text and another with an image will cause the layout to get funky. -->
|
||
|
|
<type name="tool-item-toggle" extends="tool-item-abstract" inherit-styles="true">
|
||
|
|
<builder jar="tool-item.jar">
|
||
|
|
<thin-swt class="com.foundation.tcv.swt.builder.ToolItemBuilder"/>
|
||
|
|
<thick-swt class="com.foundation.view.swt.builder.ToolItemBuilder"/>
|
||
|
|
</builder>
|
||
|
|
|
||
|
|
<style name="check">
|
||
|
|
<alter name="radio"/>
|
||
|
|
</style>
|
||
|
|
<style name="radio">
|
||
|
|
<alter name="check"/>
|
||
|
|
</style>
|
||
|
|
|
||
|
|
<property name="is-selected" type="boolean" required="false" default="false"/>
|
||
|
|
<property name="auto-synchronize-selection" type="boolean" required="false"/>
|
||
|
|
<!-- Must be between [0..10,000] -->
|
||
|
|
<property name="auto-synchronize-selection-delay" type="long" required="false"/>
|
||
|
|
<property name="text" type="string" required="false" allow-resource="true"/>
|
||
|
|
<property name="image" type="string" required="false" allow-resource="true"/>
|
||
|
|
<property name="disabled-image" type="string" required="false" allow-resource="true"/>
|
||
|
|
<property name="rollover-image" type="string" required="false" allow-resource="true"/>
|
||
|
|
<property name="tool-tip-text" type="string" required="false" allow-resource="true"/>
|
||
|
|
<property name="is-enabled" type="boolean" required="false" allow-resource="true"/>
|
||
|
|
|
||
|
|
<association function="text" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="java.lang.String"/>
|
||
|
|
<association function="image" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefImage"/>
|
||
|
|
<association function="disabled-image" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefImage"/>
|
||
|
|
<association function="rollover-image" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="com.foundation.view.JefImage"/>
|
||
|
|
<association function="selection" association-type="single" unique-row-type="true" getter="required" setter="required" data-type="java.lang.Boolean"/>
|
||
|
|
<association function="tool-tip-text" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="java.lang.String"/>
|
||
|
|
<association function="is-enabled" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="java.lang.Boolean"/>
|
||
|
|
|
||
|
|
<link-source function="selection" data-type="java.lang.Boolean"/>
|
||
|
|
<link-target function="selection" data-type="java.lang.Boolean"/>
|
||
|
|
<link-target function="text" data-type="java.lang.String"/>
|
||
|
|
<link-target function="image" data-type="com.foundation.view.JefImage"/>
|
||
|
|
<link-target function="disabled-image" data-type="com.foundation.view.JefImage"/>
|
||
|
|
<link-target function="rollover-image" data-type="com.foundation.view.JefImage"/>
|
||
|
|
<link-target function="tool-tip-text" data-type="java.lang.String"/>
|
||
|
|
<link-target function="is-enabled" data-type="java.lang.Boolean"/>
|
||
|
|
</type>
|