element <component>

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

XML Representation Summary
<component
| abstract | = | xsd:boolean
| baseComponent | = | xsd:string
| category | = | xsd:string
| friendlyName | = | xsd:string
| instanceNameRoot | = | xsd:string
| qualifiedName | = | xsd:string
| version | = | xsd:string
| >
Content: | documentation?, symbian?, designerImages?, attributes?, properties?, extensionProperties*, propertyOverrides?, events?, sourceGen?, sourceMapping?, implementations?
</component>

May contain elements (11):

  attributes, designerImages, documentation, events, extensionProperties, implementations, properties, propertyOverrides, sourceGen, sourceMapping, symbian

May be included in elements (1):

  componentDefinition

Known Usage Locations

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

Annotation
This is the container element for all the information about a single component.
XML Source

<xsd:element name="component"> <xsd:annotation> <xsd:documentation> This is the container element for all the information about a single component. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" ref="documentation"/> <xsd:element minOccurs="0" ref="symbian"/> <xsd:element minOccurs="0" ref="designerImages"/> <xsd:element minOccurs="0" ref="attributes"/> <xsd:element minOccurs="0" ref="properties"/> <xsd:element maxOccurs="unbounded" minOccurs="0" ref="extensionProperties"/> <xsd:element minOccurs="0" ref="propertyOverrides"/> <xsd:element minOccurs="0" ref="events"/> <xsd:element minOccurs="0" ref="sourceGen"/> <xsd:element minOccurs="0" ref="sourceMapping"/> <xsd:element minOccurs="0" ref="implementations"/> </xsd:sequence> <xsd:attribute name="qualifiedName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> A globally unique name for a component. By convention these use dotted names, such as com.example.MyComponent. Different versions of a component, in different files, can share the same qualified name. These values should not be localized. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="friendlyName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> A short name displayed in the user interface. These values should be localized. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="instanceNameRoot" type="xsd:string"> <xsd:annotation> <xsd:documentation> The root part of the name used in assigned unique names to component instances. For example, if the root is "label" then names will be assigned in sequence "label1", "label2", and so forth. These values should not be localized. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="version" type="xsd:string"> <xsd:annotation> <xsd:documentation> Identifies the version of the component specified by this document. Uses OSGI style version strings, composed of up to 3 integers and a text qualifier, of the form <major version>.<minor version>.<micro version>.<qualifier>. See http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/reference/osgi/org/osgi/framework/Version.html for further information. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="baseComponent" type="xsd:string"> <xsd:annotation> <xsd:documentation> The fully qualifed name of the base component. The version of the base component cannot be specified, it will be whichever is selected via SDK matching. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="category" type="xsd:string"> <xsd:annotation> <xsd:documentation> Specifies the grouping for the editor's component palette. If this string 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. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="abstract" type="xsd:boolean"> <xsd:annotation> <xsd:documentation> Specify true to define a component intended to be used as a basis for deriving other components. Abstract components are filtered out of the component palette. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element>

Attribute Detail
abstract

  Specify true to define a component intended to be used as a basis for deriving other components.
  Abstract components are filtered out of the component palette.

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

  XML Source

  <xsd:attribute name="abstract" type="xsd:boolean"> <xsd:annotation> <xsd:documentation> Specify true to define a component intended to be used as a basis for deriving other components. Abstract components are filtered out of the component palette. </xsd:documentation> </xsd:annotation> </xsd:attribute>

baseComponent

  The fully qualifed name of the base component. The version of the base component
  cannot be specified, it will be whichever is selected via SDK matching.

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

  XML Source

  <xsd:attribute name="baseComponent" type="xsd:string"> <xsd:annotation> <xsd:documentation> The fully qualifed name of the base component. The version of the base component cannot be specified, it will be whichever is selected via SDK matching. </xsd:documentation> </xsd:annotation> </xsd:attribute>

category

  Specifies the grouping for the editor's component palette. If this string 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.

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

  XML Source

  <xsd:attribute name="category" type="xsd:string"> <xsd:annotation> <xsd:documentation> Specifies the grouping for the editor's component palette. If this string 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. </xsd:documentation> </xsd:annotation> </xsd:attribute>

friendlyName

  A short name displayed in the user interface. These values should be localized.

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

  XML Source

  <xsd:attribute name="friendlyName" type="xsd:string" use="required"> <xsd:annotation> <xsd:documentation> A short name displayed in the user interface. These values should be localized. </xsd:documentation> </xsd:annotation> </xsd:attribute>

instanceNameRoot

  The root part of the name used in assigned unique names to component instances. For example,
  if the root is "label" then names will be assigned in sequence "label1", "label2", and so forth. These values should not be localized.

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

  XML Source

  <xsd:attribute name="instanceNameRoot" type="xsd:string"> <xsd:annotation> <xsd:documentation> The root part of the name used in assigned unique names to component instances. For example, if the root is "label" then names will be assigned in sequence "label1", "label2", and so forth. These values should not be localized. </xsd:documentation> </xsd:annotation> </xsd:attribute>

qualifiedName

  A globally unique name for a component. By convention these use dotted names, such as
  com.example.MyComponent. Different versions of a component, in different files, can share the same qualified name. These values
  should not be localized.

  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 a component. By convention these use dotted names, such as com.example.MyComponent. Different versions of a component, in different files, can share the same qualified name. These values should not be localized. </xsd:documentation> </xsd:annotation> </xsd:attribute>

version

  Identifies the version of the component specified by this document. Uses OSGI style version strings, composed
  of up to 3 integers and a text qualifier, of the form <major version>.<minor version>.<micro version>.<qualifier>.
  See http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/reference/osgi/org/osgi/framework/Version.html for further information.

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

  XML Source

  <xsd:attribute name="version" type="xsd:string"> <xsd:annotation> <xsd:documentation> Identifies the version of the component specified by this document. Uses OSGI style version strings, composed of up to 3 integers and a text qualifier, of the form <major version>.<minor version>.<micro version>.<qualifier>. See http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/reference/osgi/org/osgi/framework/Version.html for further information. </xsd:documentation> </xsd:annotation> </xsd:attribute>

Content Element Detail
attributes

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

  XML Source

  <xsd:element minOccurs="0" ref="attributes"/>

designerImages

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

  XML Source

  <xsd:element minOccurs="0" ref="designerImages"/>

documentation

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

  XML Source

  <xsd:element minOccurs="0" ref="documentation"/>

events

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

  XML Source

  <xsd:element minOccurs="0" ref="events"/>

extensionProperties

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

  XML Source

  <xsd:element maxOccurs="unbounded" minOccurs="0" ref="extensionProperties"/>

implementations

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

  XML Source

  <xsd:element minOccurs="0" ref="implementations"/>

properties

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

  XML Source

  <xsd:element minOccurs="0" ref="properties"/>

propertyOverrides

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

  XML Source

  <xsd:element minOccurs="0" ref="propertyOverrides"/>

sourceGen

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

  XML Source

  <xsd:element minOccurs="0" ref="sourceGen"/>

sourceMapping

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

  XML Source

  <xsd:element minOccurs="0" ref="sourceMapping"/>

symbian

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

  XML Source

  <xsd:element minOccurs="0" ref="symbian"/>