eclipseme.core.model
Interface IDevice

All Known Implementing Classes:
Device

public interface IDevice

The device interface specifies the representation of an emulated device. Each instance of IEmulator must provide a list of emulated devices that implement this interface.

Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.

Copyright (c) 2003-2005 Craig Setera
All Rights Reserved.
Licensed under the Eclipse Public License - v 1.0


$Revision: 1.3 $
$Date: 2005/07/07 02:36:56 $

Author:
Craig Setera
See Also:
IEmulator

Method Summary
 java.lang.String getDescription()
          Return the displayable description of this device.
 java.util.Properties getDeviceProperties()
          Return the properties associated with this device.
 java.lang.String getName()
          Return the name of this device.
 java.lang.String[] getProtectionDomains()
          Return the list of protection domains specified by this device.
 

Method Detail

getDescription

public java.lang.String getDescription()
Return the displayable description of this device. 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.

Returns:
the description of this device or null if the device's name should be used instead.

getDeviceProperties

public java.util.Properties getDeviceProperties()
Return the properties associated with this device. The available properties will vary from emulator to emulator.

Returns:
the properties associated with this device.

getName

public java.lang.String getName()
Return the name of this device. This name will be used when interacting with the emulator. This name may or may not be displayed within the user interface, dependent on whether a display name is provided by this device. This method must never return null.

Returns:
the non-null name of this device.

getProtectionDomains

public java.lang.String[] getProtectionDomains()
Return the list of protection domains specified by this device. Returning null from this method will imply that this device does not support protection domains.

Returns:
the list of protection domains or null if the device does not provide any protection domains.