Eclipse.org Eclipse.org swt Device Kit

XML Element 

<swt> element

Device Kit Attributes Elements XML Reference
Specifies a Standard Widget Toolkit (SWT) test.

Release: 1.1.0

Examples: swt examples


NameTypeDescriptionUse
Element <swt> attributes
idIDSpecifies an unique identifier for this element. After defining an element with the id attribute, other elements can reference this element by using the idref attribute. Since the id attribute value is used by the code generator to generate field and method names, no spaces, periods or commas should be used.optional
implementationNameSpecifies the implementation class name.optional
superclassNameSpecifies the implementation super class name.optional
idrefIDREFSpecifies a reference to the element with the matching id attribute. The matching id attribute must be specified before the idref attribute can be used.optional

NameDescriptionUse
Element <swt> elements
<description>Description of the Standard Widget Toolkit (SWT) test.0 to unbounded
<history>New Specifies the SWT history.0 to unbounded
<testmethod>Description of the Standard Widget Toolkit (SWT) test.0 to unbounded

Sibling NameSibling Description
Element <swt> element siblings
<description>Description of the adapter test.
<history>New Specifies the adapter test history.
<deprecated>Specifies that the contents of this element should be marked as deprecated.
<provider>Specifies the provider.
<version>Specifies the current version level. The format of the version number should be n.n.n where n is a number. For example, 1.0.0 is a valid version.
<vendor>Specifies an implementing vendor.
<incubation>If the contents of this element is true, then this is an incubation project.
<spec>Hardware specification documentation for this adapter.
<multiplex>New Specifies that this is a multiplex adapter test.
<customparameter>New Specifies a custom parameter for this adapter test.
<send>Specifies the message(s) to send during the test.
<adapter>Specifies the adapter to be tested.
<testcount>Unsigned integer that specifies the number of times to execute tests.
<testdelay>Specifies the milliseconds to sleep between each test.
<junit>Specifies a junit test. Currently, not supported.
<monitor>Specifies a monitor test. Currently, not supported.
<playback>Specifies a playback test. Currently, not supported.
<testcase>Specifies a junit testcase.
<bundle>Specifies an Open Services Gateway Initiative (OSGi) bundle should be created.
<managedbundle>Specifies an Open Services Gateway Initiative (OSGi) managed bundle should be created.
<managedfactorybundle>Specifies an Open Services Gateway Initiative (OSGi) managed factory bundle should be created.

Element NameElement Description
Element <swt> element tree
<dkml>Specifies the root element of a Device Kit &lt;b&gt;D&lt;/b&gt;evice &lt;b&gt;K&lt;/b&gt;it &lt;b&gt;L&lt;/b&gt;anguage (dkml) document.
¦-<adaptertest>Specifies an adapter test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface adapter test.
¦ ¦ ¦-<description>Description of the Standard Widget Toolkit (SWT) test.
¦ ¦ ¦-<history>New Specifies the SWT history.
¦ ¦ ¦ ¦-<description>Description of the history.(see description)
¦ ¦ ¦ ¦-<provider>Specifies the provider history.
¦ ¦ ¦ ¦-<version>Version of the history documentation.
¦ ¦ ¦-<testmethod>Description of the Standard Widget Toolkit (SWT) test.
¦ ¦ ¦ ¦-<description>Description of the test method.(see description)
¦-<agenttest>Specifies an agent test.
¦ ¦-<agentmodeltest>Specifies the agent model test.
¦ ¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface agnet model test.(see swt)
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface agent test.(see swt)
¦-<agentmodeltest>Specifies an agent model test.(see agentmodeltest)
¦-<concretetest>Specifies a concrete test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface concrete test.(see swt)
¦-<connectiontest>Specifies an connection test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface connection test.(see swt)
¦-<devicetest>Specifies a device test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface device test.(see swt)
¦-<profiletest>Specifies a profile test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface profile test.(see swt)
¦-<transporttest>Specifies a transport test.
¦ ¦-<swt>Specifies a Standard Widget Toolkit (SWT) user interface transport test.(see swt)

Copyright (c) 2009 IBM. See license in Legal section. 2009-01-22 Device Kit XML Reference 1.2.0