complexType "enumPropertyType"

Namespace: | http://www.nokia.com/sdt/emf/component
Content: | empty, 11 attributes
Defined: | globally within component.xsd, see XML source
Used: | at 1 location

XML Representation Summary
<...
| category | = | xsd:string
| default | = | xsd:string
| descriptionKey | = | xsd:string
| displayName | = | xsd:string
| editorClass | = | xsd:string
| extendWithEnum | = | xsd:string
| helpKey | = | xsd:string
| name | = | xsd:string
| readOnly | = | xsd:boolean : "false"
| resettable | = | xsd:boolean : "true"
| type | = | xsd:string
/>

Known Usage Locations

- As direct type of elements (1):
  enumProperty

Annotation
Concrete type used for enumerated value properties.
Type Definition Detail

Type Derivation Summary abstractPropertyType enumPropertyType (extension)

XML Source

<xsd:complexType name="enumPropertyType"> <xsd:annotation> <xsd:documentation> Concrete type used for enumerated value properties. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="abstractPropertyType"> <xsd:attribute name="type" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> The fully qualifed name of the enumerated property type. See enumPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="default" type="xsd:string"> <xsd:annotation> <xsd:documentation> The default enumerated value, in case it needs to be different from the default declared in the enumeratedPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="extendWithEnum" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional extension of the simple values with the enums provided by an enimPropertyDeclaration. If the value of the property matches any in an enumProperty's 'value' attribute, the 'displayValue' will be shown as the current value in the property sheet. Additionally, the editor for the value (if not overridden with a custom editorClass) will be a combo that allows typing in the literal value or selecting one of the union of base and extended enums. <p> The extending enum may provide 'value' elements which are different from the base enum (even integers, say), if appropriate. These values are exposed to script, source mapping, and source gen, so ensure that all those clients are prepared to deal with the extra values. </p> </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType>

Attribute Detail
category

  The category grouping to be used in the property sheet.
  If this value matches the key of a known group then the localized name is looked up within the Symbian component provider. Otherwise it is treated like a
  potentially localized string, i.e. if it is %-prefixed a string is looked up in the properties file.
  The special value of "hidden" will cause the property to be filtered from the property sheet.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

default

  The default enumerated value, in case it needs to be different from
  the default declared in the enumeratedPropertyDeclaration.

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

  XML Source

  <xsd:attribute name="default" type="xsd:string"> <xsd:annotation> <xsd:documentation> The default enumerated value, in case it needs to be different from the default declared in the enumeratedPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute>

descriptionKey

  A property key to descriptive text for the property to be displayed in the status bar
  when the property is selected in the property sheet.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

displayName

  The property name to be display in the user interface. Can contain spaces and other characters.
  This value should be localized.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

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.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

extendWithEnum

  Optional extension of the simple values with the enums provided by an enimPropertyDeclaration.
  If the value of the property matches any in an enumProperty's 'value' attribute, the 'displayValue' will be shown
  as the current value in the property sheet. Additionally, the editor for the value (if not overridden with
  a custom editorClass) will be a combo that allows typing in the literal value or selecting one of the
  union of base and extended enums.

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

  XML Source

  <xsd:attribute name="extendWithEnum" type="xsd:string"> <xsd:annotation> <xsd:documentation> Optional extension of the simple values with the enums provided by an enimPropertyDeclaration. If the value of the property matches any in an enumProperty's 'value' attribute, the 'displayValue' will be shown as the current value in the property sheet. Additionally, the editor for the value (if not overridden with a custom editorClass) will be a combo that allows typing in the literal value or selecting one of the union of base and extended enums. <p> The extending enum may provide 'value' elements which are different from the base enum (even integers, say), if appropriate. These values are exposed to script, source mapping, and source gen, so ensure that all those clients are prepared to deal with the extra values. </p> </xsd:documentation> </xsd:annotation> </xsd:attribute>

helpKey

  A key to more detailed help for the property.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within abstractPropertyType complexType

name

  The internal name for the property. It must be unique within the component and its base
  components. Since it may be used as an identifier in scripts it should be a legal JavaScript identifier.

  Type: | xsd:string
  Use: | required
  Defined: | locally, within abstractPropertyType complexType

readOnly

  If true the property will be read-only in the property sheet.

  Type: | xsd:boolean
  Use: | optional
  Default: | "false"
  Defined: | locally, within abstractPropertyType complexType

resettable

  If false the reset button will be disabled, inhibiting the user from reverting to the default value

  Type: | xsd:boolean
  Use: | optional
  Default: | "true"
  Defined: | locally, within abstractPropertyType complexType

type

  The fully qualifed name of the enumerated property type. See
  enumPropertyDeclaration.

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

  XML Source

  <xsd:attribute name="type" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> The fully qualifed name of the enumerated property type. See enumPropertyDeclaration. </xsd:documentation> </xsd:annotation> </xsd:attribute>