Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Link

Revision as of 16:35, 9 December 2008 by Alex.escodro.eldorado.org.br (Talk | contribs) (New page: <source lang="java"> * Replace <DEVICE_NAME> for the device name in the package declaration.: package org.eclipse.tml.device.<DEVICE_NAME>.handler; import org.eclipse.tml.framewor...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/*
 * 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.
 *
 * Rename this file according to the class name.
 */
 
public class <DEVICE_NAME>DeviceHandler implements IDeviceHandler {
    public IInstance createDeviceInstance(String id) {
        return new MobileInstance(id);
    }
}

Back to the top