Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.sdk
Interface ISDKProvider

All Superinterfaces:
Comparable<ISDKProvider>

public interface ISDKProvider
extends Comparable<ISDKProvider>

This interface represents an SDK provider. An SDK provider automatically presents its SDKs and devices to MTJ through the sdkprovider extension point. These devices do not have to be manually installed (imported) by the user. An SDK provider may be called upon to present its list of SDKs through the getSDKs() method at any time. MTJ does not cache ManagedSDKs nor IManagedDevices obtained from an ISDKProvider.

Since:
1.1

Method Summary
 String getDescription()
          Return the displayable description of this SDK provider.
 String getIdentifier()
          Return the unique identifier for this SDK provider.
 Image getLogo()
          Return a 16x16 pixel SDK provider logo for use in the device tree in the DeviceManagementPreferencePage.
 String getName()
          Return the name of this SDK provider.
 int getSDKCount()
          Obtain the number of ISDKProviders registered.
 List<ISDK> getSDKs()
          Return the fully configured SDK instances available from this SDK provider.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()
Return the name of this SDK provider. This name will be displayed within the user interface and must never be null.

Returns:
the name of this SDK provider.

getDescription

String getDescription()
Return the displayable description of this SDK provider. This description will be displayed within the user interface. If this method returns a null value, the SDK provider's name will be used as the description instead.

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

getIdentifier

String getIdentifier()
Return the unique identifier for this SDK provider. This identifier will be used internally to manage the SDK provider, but will not be displayed to the user.

Returns:
the string that represents the unique identifier of this SDK provider.

getSDKCount

int getSDKCount()
Obtain the number of ISDKProviders registered.


getSDKs

List<ISDK> getSDKs()
Return the fully configured SDK instances available from this SDK provider. No sort order is guaranteed.

Returns:
the list of SDKs available from this provider

getLogo

Image getLogo()
Return a 16x16 pixel SDK provider logo for use in the device tree in the DeviceManagementPreferencePage. Returning null will cause the DeviceManagementPreferencePage to present a default file folder image.


Mobile Tools for Java
Release 1.0