Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
DSDP/TML/Creating TmL Plugins/device handler class template
< DSDP | TML | Creating TmL Plugins
/* * Replace <DEVICE_NAME> for the device name in the package declaration. */ package org.eclipse.tml.device.<DEVICE_NAME>.handler; import org.eclipse.tml.framework.device.internal.model.MobileInstance; import org.eclipse.tml.framework.device.model.IInstance; import org.eclipse.tml.framework.device.model.handler.IDeviceHandler; /* * Replace <DEVICE_NAME> for the device name in the class declaration. * * Remember to use the class name as the filename. */ public class <DEVICE_NAME>DeviceHandler implements IDeviceHandler { public IInstance createDeviceInstance(String id) { return new MobileInstance(id); } }