32 lines
1.8 KiB
Plaintext
32 lines
1.8 KiB
Plaintext
<type name="menu-abstract" extends="abstract" inherit-styles="true" abstract="true">
|
|
<builder jar="menu.jar">
|
|
<!-- Abstract -->
|
|
</builder>
|
|
|
|
<style name="left to right">
|
|
<alter name="right to left"/>
|
|
</style>
|
|
<style name="right to left">
|
|
<alter name="left to right"/>
|
|
</style>
|
|
|
|
<!-- Used exclusively in the code generation and debugging. -->
|
|
<property name="name" type="String" required="false"/>
|
|
<!-- The text to display in the menu item. Will be overwritten by the text association if one is provided and resolves to a non-null value. -->
|
|
<property name="text" type="string" required="false" allow-resource="true"/>
|
|
<!-- The image to display in the menu item. Will be overwritten by the image association if one is provided and resolves to a non-null value. -->
|
|
<property name="image" type="image" required="false" allow-resource="true"/>
|
|
<!-- The accelerator key used to activate the menu item. -->
|
|
<property name="accelerator" type="string" required="false"/>
|
|
<property name="is-visible" type="boolean" 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="is-visible" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="java.lang.Boolean"/>
|
|
<association function="is-enabled" association-type="single" unique-row-type="true" getter="required" setter="none" data-type="java.lang.Boolean"/>
|
|
|
|
<link-target name="is-visible" data-type="java.lang.Boolean"/>
|
|
<link-target name="is-enabled" data-type="java.lang.Boolean"/>
|
|
</type>
|