element <property>

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

XML Representation Summary
<property
| category | = | xsd:string
| default | = | xsd:string
| descriptionKey | = | xsd:string
| displayName | = | xsd:string
| editorClass | = | xsd:string
| extendWithEnum | = | xsd:string
| helpKey | = | xsd:string
| maxValue | = | xsd:string
| minValue | = | xsd:string
| name | = | xsd:string
| readOnly | = | xsd:boolean : "false"
| resettable | = | xsd:boolean : "true"
| type | = | ("void" | "boolean" | "integer" | "float" | "string" | "localizedString" | "uniqueName")
/>

XML Source

<xsd:element name="property" substitutionGroup="abstractProperty" type="simplePropertyType"/>

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

  A default value for the property. Must be a string convertible to the
  particular property type.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within simplePropertyType 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 enum with the enums provided by an enimPropertyDeclaration.
  If the value of the property matches any in an extension 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 extended enums.

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

helpKey

  A key to more detailed help for the property.

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

maxValue

  Optional maximum value constraint. Applies only to integers and floats.

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

minValue

  Optional minimum value constraint. Applies only to integers and floats.

  Type: | xsd:string
  Use: | optional
  Defined: | locally, within simplePropertyType 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

  Selects the data type of the property.

  Type: | propertyDataType
  Use: | required
  Defined: | locally, within simplePropertyType complexType