element <enumProperty>

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

XML Representation Summary
<enumProperty
| 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
/>

XML Source

<xsd:element name="enumProperty" substitutionGroup="abstractProperty" type="enumPropertyType"/>

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 enumPropertyType complexType

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 enumPropertyType complexType

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 enumPropertyType complexType