|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDeviceImporter
Instances of IDeviceImporter are presented with a set of directories for
which the instance may return one or more device instances. IDeviceImporters
are provided to the system via the deviceImporter
extension
point.
MTJ provides 3 implementations for the deviceimporter
E.P..
Bellow is the list of IDs:
org.eclipse.mtj.toolkit.uei.importer
org.eclipse.mtj.toolkit.mpowerplayer.importer
org.eclipse.mtj.toolkit.microemu.importer
IDevice
Field Summary | |
---|---|
static String |
EXT_DEVICE_IMPORTERS
The extension point for use in registering new device importers. |
Method Summary | |
---|---|
List<IDevice> |
importDevices(File directory,
IProgressMonitor monitor)
Return the fully configured device instances found in the specified directory or null if no devices are recognized by this
importer in this directory. |
Field Detail |
---|
static final String EXT_DEVICE_IMPORTERS
Method Detail |
---|
List<IDevice> importDevices(File directory, IProgressMonitor monitor) throws CoreException, InterruptedException
null
if no devices are recognized by this
importer in this directory.
directory
- the directory in which the devices must be searched.monitor
- a progress monitor, or null
if progress
reporting is not desired.
CoreException
- if the device importer found an error occurred
while searching for the devices.
InterruptedException
- if the operation detects a request to
cancel, using IProgressMonitor#isCanceled()
, it
should exit by throwing InterruptedException
.
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |