10. part

<part
  name = NMTOKEN
>
  Content: class [ property ]*
</part>

<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 generic part, that is, a Java™ Object implementing interface com.xmlmind.xmleditapp.desktop.AppPart. Unlike action, tool, pane, etc, generic parts are ``behind the scene workers'', which are referenced in the hidden section of a layout.

The class implementing interface com.xmlmind.xmleditapp.desktop.AppPart is specified by the class child element.

Property child elements may be used to parametrize a newly created part. See bean properties.

Attributes:

name

Required. Unique name identifying the part in this GUI specification.

Examples:

<part name="autoSavePart">
  <class>com.xmlmind.xmleditapp.desktop.file.AutoSavePart</class>
</part>