Swing control

A swing control extends a control.

In addition to a control, it may have a label and sub controls.

Schema

nodes:swingControl inherits from nodes:control. A node may have additional property nodes:label with a reference to a bundle entry

The node may have additional child node nodes having arbitrary names of type nodes:swingControl

As custom_nodestypes.xml:

<nodeType
   hasOrderableChildNodes="true"
   isMixin="false"
   name="nodes:swingControl"
   primaryItemName="">
  <supertypes>
   <supertype>nodes:control</supertype>
  </supertypes>
  <propertyDefinition
    autoCreated="false"
    mandatory="false"
    multiple="true"
    name="nodes:label"
    onParentVersion="VERSION"
    protected="false"
    requiredType="Reference">
   <valueConstraints>
    <valueConstraint>nodes:bundleEntry</valueConstraint>
   </valueConstraints>
  </propertyDefinition>
  <childNodeDefinition
    autoCreated="false"
    defaultPrimaryType="nodes:swingControl"
    mandatory="false"
    name="*"
    onParentVersion="VERSION"
    protected="false"
    sameNameSiblings="true">
   <requiredPrimaryTypes>
    <requiredPrimaryType>nodes:swingControl</requiredPrimaryType>
   </requiredPrimaryTypes>
  </childNodeDefinition>
 </nodeType>

Template

The template looks like