Device Matcher

Identifier:
org.eclipse.mtj.core.devicematcher

Since:
1.0.1

Description:
The device matcher extension point matches a given device group and device name against the locally installed ones. When importing projects their runtime configuration may refer to devices that are not installed. Instead of just returning a null device, this creates an opportunity to match it against installed devices. Implementors of this extension point must provide instances of the org.eclipse.mtj.core.sdk.device.IDeviceMatcher interface.

Configuration Markup:

<!ELEMENT extension (matcher+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT matcher EMPTY>

<!ATTLIST matcher

id       CDATA #REQUIRED

priority CDATA #REQUIRED

class    CDATA #REQUIRED

>


Examples:
Example of a declaration of a devicematcher:

<extension
     point="org.eclipse.mtj.core.devicematcher">
  <importer
        class="org.eclipse.mtj.internal.ui.DeviceMatcher"
        id="org.eclipse.mtj.devicematcher"/>
</extension>

Supplied Implementation:
MTJ provides an implementation for the devicematcher in the org.eclipse.mtj.ui plugin that presents the user with a dialog to choose from availiable devices.


Copyright (c) 2009 Sony Ericsson.
Parts copied from org_eclipse_mtj_deviceImporter.exsd with copyright (c) 2003,2009 Craig Setera and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html