Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Mobile Java Development Tools
Previous Page Home Next Page

Device Importer Registering

Identifier:
org.eclipse.mtj.core.deviceimporter

Since:
1.0

Description:
The device importer extension point provides a means for registering new types of device importers. Devices are fully-formed at import time by the appropriate instance of IDeviceImporter. These device instances are then stored and loaded automatically by the system as necessary. Implementors of this extension point must provide instances of the org.eclipse.mtj.core.sdk.device.IDeviceImporter interface.

Configuration Markup:

<!ELEMENT extension ( importer+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>

  • point - a fully qualified identifier of the target extension point
  • id - an optional identifier of the extension instance
  • name - an optional name of the extension instance

<!ELEMENT importer EMPTY>

<!ATTLIST importer

id       CDATA #REQUIRED

priority CDATA #REQUIRED

name     CDATA #IMPLIED

class    CDATA #REQUIRED

>

  • id - a required fully-qualified identifier for this particular device importer extension
  • priority - the priority order for this importer. The priority may range from 1 to 99. The importers will be consulted in priority order starting with the lower numbered priority and working toward the highest numbered priority. The first device importer that requires a non-null result for a particular folder will "win" and no further importer instances will be consulted.
  • name - an optional displayable name for this particular device importer extension
  • class - the required implementation class for the org.eclipse.mtj.core.sdk.device.IDeviceImporter interface

Examples:
Example of a declaration of a deviceimporter named "ME4SE Device Importer":

<extension
     point=
"org.eclipse.mtj.core.deviceimporter"
>
  <importer
        class=
"org.eclipse.mtj.examples.toolkits.me4se.ME4SEDeviceImporter"

        id=
"org.eclipse.mtj.toolkit.me4se.importer"

        name=
"ME4SE Device Importer"

        priority=
"50"
/>
</extension>

Supplied Implementation:
MTJ provides 3 implementations for the deviceimporter E.P., available in the following plug-ins:
  • org.eclipse.mtj.toolkit.uei
  • responsible for importing all UEI compatible SDK's
  • org.eclipse.mtj.toolkit.mpowerplayer
  • responsible for importing the MPowerPlayer SDK
  • org.eclipse.mtj.toolkit.microemu
  • responsible for importing the MicroEmu SDK


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 https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire