element <events>

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

XML Representation Summary
<events
| defaultEventName | = | xsd:string
| >
Content: | event*
</events>

May contain elements (1):

  event

May be included in elements (1):

  component

Known Usage Locations

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

Annotation
The list of events defined for this component. Components also inherit the events of
their base components. Events are named notifications or hooks to which code can be attached. The data here is
used to drive the user interface. The details of source code generation are part of the source code generation templates.
The set of available events, and default event, may be overriden via code or script. See the
com.nokia.sdt.datamodel.adapter.IComponentEventInfo interface for more information.
XML Source

<xsd:element name="events"> <xsd:annotation> <xsd:documentation> The list of events defined for this component. Components also inherit the events of their base components. Events are named notifications or hooks to which code can be attached. The data here is used to drive the user interface. The details of source code generation are part of the source code generation templates. The set of available events, and default event, may be overriden via code or script. See the com.nokia.sdt.datamodel.adapter.IComponentEventInfo interface for more information. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" ref="event"/> </xsd:sequence> <xsd:attribute name="defaultEventName" type="xsd:string"> <xsd:annotation> <xsd:documentation> If defined, the default event will be identified in a component instance's context menu. In the case of inheritance the most derived definition of the default event is used. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:complexType> </xsd:element>

Attribute Detail
defaultEventName

  If defined, the default event will be identified in a component instance's context
  menu. In the case of inheritance the most derived definition of the default event is used.

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

  XML Source

  <xsd:attribute name="defaultEventName" type="xsd:string"> <xsd:annotation> <xsd:documentation> If defined, the default event will be identified in a component instance's context menu. In the case of inheritance the most derived definition of the default event is used. </xsd:documentation> </xsd:annotation> </xsd:attribute>

Content Element Detail
event

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

  XML Source

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