|
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 IDevice
The device interface specifies the representation of an emulated device. Each instance of a SDK must provide a list of emulated devices that implement this interface.
Field Summary |
---|
Fields inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
---|
CLASS_PERSISTABLE_ATTRIBUTE, ID_PERSISTABLE_ATTRIBUTE, KEY_PERSISTABLE_ATTRIBUTE, PROPERTY_PERSISTABLE_ELEMENT, REFID_PERSISTABLE_ATTRIBUTE, VALUE_PERSISTABLE_ATTRIBUTE |
Method Summary | |
---|---|
IDeviceClasspath |
getClasspath()
Return the deviceClasspath provided by the device. |
String |
getDescription()
Return the displayable description of this device. |
String |
getIdentifier()
Return the unique identifier for this device definition. |
String |
getLaunchCommand(LaunchEnvironment launchEnvironment,
IProgressMonitor monitor)
Return the command-line arguments for launching this device given the specified launch environment. |
String |
getName()
Return the name of this device. |
ISDK |
getSDK()
Return the SDK that defines this device. |
String |
getSDKName()
Return the name of the SDK that contains this device. |
ISymbolSet |
getSymbolSet()
Return the SymbolSet associated with this device. |
boolean |
isDebugServer()
Return a boolean describing whether this device wants to act as a debug server rather than attaching to the debugger as a client. |
void |
setName(String name)
Set the name of this device. |
Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
---|
loadUsing, storeUsing |
Method Detail |
---|
IDeviceClasspath getClasspath()
This deviceClasspath includes all libraries for the device including configuration and profile libraries.
String getDescription()
This description will be displayed within the user interface. If this
method returns a null
value, the device's name will be used
as the description instead.
null
if the device's name should be used instead.String getIdentifier()
ISymbolSet getSymbolSet()
Clients may use MTJCore.getSymbolSetFactory()
to get a
ISymbolSetFactory
instance which provides a mechanism to create
symbols sets.
ISDK getSDK()
String getSDKName()
null
value as the SDK name.
This value will be used to group devices belong to the same SDK.
null
SDK name associated to this device.String getLaunchCommand(LaunchEnvironment launchEnvironment, IProgressMonitor monitor) throws CoreException
launchEnvironment
- the launch environment instance that provides
the necessary information to a IDevice implementation for
determining the correct command-line for execution of an
emulator.monitor
- a progress monitor, or null
if progress
reporting is not desired.
IDevice
implementation.
CoreException
- If fails to determine the launch command line for
the IDevice
implementation.String getName()
null
.
boolean isDebugServer()
void setName(String name)
null
.
name
- the non-null name of this device.
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |