Hi All,
Based on our meeting from July 24th,
I am modifying my contribution of the deviceType so it can be easily reused.
I am introducing 2 additional attributes
to the org.eclipse.tml.deviceTypes extension points:
·
isAbstract
– default to be false, if is set to true, it means that the deviceType
is abstract and user will not be able to instantiate the specified deviceType.
(The deviceType will not be displayed in the new Instance Wizard)
·
superClass
– define the deviceType id of the super class of this device type, it
will inherit all its wizard pages, services and properties unless you overwrite
it.
See the example below for the sample
extension definition:
<extension
point="org.eclipse.tml.deviceTypes">
<deviceType
description="Abstract device for QEMU"
handler="org.eclipse.tml.device.qemu.handler.QEmuGenericDeviceHandler"
id="org.eclipse.tml.device.qemu.abstract"
isAbstract="true"
label="Abstract
QEMU device"
name="Abstract
QEMU device">
<property
name="icon"
value="icons/full/obj16/qemu.gif">
</property>
</deviceType>
<deviceType
description="Generic device for QEMU"
handler="org.eclipse.tml.device.qemu.handler.QEmuGenericDeviceHandler"
id="org.eclipse.tml.device.qemu.generic"
isAbstract="false"
superClass="org.eclipse.tml.device.qemu.abstract"
label="Generic
QEMU device"
name="Generic
QEMU device">
</deviceType>
</extension>
Please let me know if you have any
questions about it!
Yufen
From: dsdp-tml-dev-bounces@xxxxxxxxxxx
[mailto:dsdp-tml-dev-bounces@xxxxxxxxxxx] On
Behalf Of Otávio Luiz Ferranti
Sent: Monday, August 04, 2008 6:52
AM
To: dsdp-tml-dev@xxxxxxxxxxx
Subject: [dsdp-tml-dev] Meeting
minutes
=======================================
Meeting minutes
(conference call):
Otávio Ferranti (Eldorado Research Institute)
Daniel Franco (Eldorado Research Institute)
Fábio Fantato (Eldorado Research Institute)
Eric Cloninger (Motorola)
- There will not be a "abstract device definition"
entity on the framework.
- Any "Device Type" may be extend other
"Device Type", and it will inherit its properties, wizards and
services.
- A "Device Instance" may be created by the end
user from a "Device Type" using the "New instance
wizard".
- A "Device Type" is developed by the plug-in
developer.
- Eric asked all members to provide requirements/needs so
that the project would increase its audience.
========================================