element <compoundPropertyDeclaration>

Namespace: | http://www.nokia.com/sdt/emf/component
Type: | embedded complexType
Content: | complex, 4 attributes, 2 elements
Defined: | globally within component.xsd, see XML source
Used: | at 1 location

XML Representation Summary
<compoundPropertyDeclaration
| converterClass | = | xsd:string
| editableType | = | xsd:string : ""
| editorClass | = | xsd:string
| qualifiedName | = | xsd:string
| >
Content: | abstractProperty*, sourceTypeMapping?
</compoundPropertyDeclaration>

May contain elements (2):

  abstractProperty, sourceTypeMapping

May be included in elements (1):

  componentDefinition

Known Usage Locations

- Within embedded complexTypes of elements (1):
  componentDefinition [ref]

Annotation
Declares a compound type that may be referenced from one or more
compound property declarations in this or other component documents. All compound property declarations are in a global
namespace and must be declared as global elements.
XML Source

<xsd:element name="compoundPropertyDeclaration"> <xsd:annotation> <xsd:documentation> Declares a compound type that may be referenced from one or more compound property declarations in this or other component documents. All compound property declarations are in a global namespace and must be declared as global elements. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" ref="abstractProperty"> <xsd:annotation> <xsd:documentation> Any property type may be used here, i.e. simple, compound, array, reference. </xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element maxOccurs="1" minOccurs="0" ref="sourceTypeMapping"> <xsd:annotation> <xsd:documentation> This element provides source mapping for the type, for use by map*FromType elements. Added post 1.2. </xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> <xsd:attribute name="qualifiedName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> A globally unique name for the property. By convention this is a dotted name, e.g. com.example.MyPropertyType. This identifier is used in compound property declarations. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="" name="editableType" type="xsd:string"> <xsd:annotation> <xsd:documentation> The property type of the editable value. In addition to editing each child value, the user may be able to edit the property as a whole. For example, an RGB color value may be editable as a string. This value can be a propertyDataType value such as "integer" or "string", or can be the name of an enumPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="converterClass" type="xsd:string"> <xsd:annotation> <xsd:documentation> If specified, this must be the fully qualified name of an implementation of com.nokia.sdt.component.property.ICompoundPropertyValueConverter. It is used to convert back and forth between the editable value and the compound value. The editable value is a single value, display as the parent value in the property sheet and used with cell editors. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="editorClass" type="xsd:string"> <xsd:annotation> <xsd:documentation> The fully qualified name of a class implementing com.nokia.sdt.component.property.IPropertyEditorFactory. This allows Java code to provide a label provider, cell editor, and validator for the property. Specify a factory class here provides a default for all compound properties of this type. The factory may be overriden by a compound property declaration </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element>

Attribute Detail
converterClass

  If specified, this must be the fully qualified name of an implementation of
  com.nokia.sdt.component.property.ICompoundPropertyValueConverter. It is used to convert back and forth between
  the editable value and the compound value. The editable value is a single value, display as the parent value in the
  property sheet and used with cell editors.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="converterClass" type="xsd:string"> <xsd:annotation> <xsd:documentation> If specified, this must be the fully qualified name of an implementation of com.nokia.sdt.component.property.ICompoundPropertyValueConverter. It is used to convert back and forth between the editable value and the compound value. The editable value is a single value, display as the parent value in the property sheet and used with cell editors. </xsd:documentation> </xsd:annotation> </xsd:attribute>

editableType

  The property type of the editable value. In addition to editing each
  child value, the user may be able to edit the property as a whole. For example, an RGB color value may be
  editable as a string. This value can be a propertyDataType value such as "integer" or "string", or can be
  the name of an enumPropertyDeclaration.

  Type: | xsd:string
  Use: | optional
  Default: | ""
  Defined: | locally, within this element

  XML Source

  <xsd:attribute default="" name="editableType" type="xsd:string"> <xsd:annotation> <xsd:documentation> The property type of the editable value. In addition to editing each child value, the user may be able to edit the property as a whole. For example, an RGB color value may be editable as a string. This value can be a propertyDataType value such as "integer" or "string", or can be the name of an enumPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute>

editorClass

  The fully qualified name of a class implementing
  com.nokia.sdt.component.property.IPropertyEditorFactory.
  This allows Java code to provide a label provider, cell editor, and validator for the property.
  Specify a factory class here provides a default for all compound properties of this type. The factory
  may be overriden by a compound property declaration

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="editorClass" type="xsd:string"> <xsd:annotation> <xsd:documentation> The fully qualified name of a class implementing com.nokia.sdt.component.property.IPropertyEditorFactory. This allows Java code to provide a label provider, cell editor, and validator for the property. Specify a factory class here provides a default for all compound properties of this type. The factory may be overriden by a compound property declaration </xsd:documentation> </xsd:annotation> </xsd:attribute>

qualifiedName

  A globally unique name for the property. By convention this is a dotted name, e.g.
  com.example.MyPropertyType. This identifier is used in compound property declarations.

  Type: | xsd:string
  Use: | required
  Defined: | locally, within this element

  XML Source

  <xsd:attribute name="qualifiedName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> A globally unique name for the property. By convention this is a dotted name, e.g. com.example.MyPropertyType. This identifier is used in compound property declarations. </xsd:documentation> </xsd:annotation> </xsd:attribute>

Content Element Detail
abstractProperty

  Any property type may be used here, i.e. simple, compound, array, reference.

  Type: | abstractPropertyType, empty content
  Defined: | by reference, within this element

  XML Source

  <xsd:element maxOccurs="unbounded" minOccurs="0" ref="abstractProperty"> <xsd:annotation> <xsd:documentation> Any property type may be used here, i.e. simple, compound, array, reference. </xsd:documentation> </xsd:annotation> </xsd:element>

sourceTypeMapping

  This element provides source mapping for the type, for use by
  map*FromType elements. Added post 1.2.

  Type: | embedded, complex content
  Defined: | by reference, within this element

  XML Source

  <xsd:element maxOccurs="1" minOccurs="0" ref="sourceTypeMapping"> <xsd:annotation> <xsd:documentation> This element provides source mapping for the type, for use by map*FromType elements. Added post 1.2. </xsd:documentation> </xsd:annotation> </xsd:element>