<menuItems
name = NMTOKEN
count = strictly positive int
>
Content: class [ property ]*
</menuItems>
<class>
Content: Java class name
</class>
<property
name = NMTOKEN matching [_a-zA-Z][_a-zA-Z0-9]*
type = (boolean|byte|char|short|int|long|float|double|
String|Color|Font)
value = string
/>
Specifies a dynamic set of menu items, that is, a Java™ Object implementing interface com.xmlmind.xmleditapp.desktop.AppMenuItems
.
The class implementing interface com.xmlmind.xmleditapp.desktop.AppMenuItems
is specified by the class
child element.
Property
child elements may be used to parametrize a newly created part. See bean properties.
Attributes:
Required. Unique name identifying the dynamic set of menu items in this GUI specification.
The fixed number of items which will be dynamically added to this part. This attribute must not be specified for truly dynamic set of menu items.
Examples:
<menuItems name="recentFilesMenuItems"> <class>com.xmlmind.xmleditapp.desktop.file.RecentFilesMenuItems</class> </menuItems> <menuItems name="configSpecificMenuItems"> <class>com.xmlmind.xmleditapp.desktop.part.ConfigSpecificMenuItems</class> </menuItems>