eclipseme.core.model
Interface IPlatformDefinition

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IPlatformComponent
All Known Implementing Classes:
PlatformDefinition

public interface IPlatformDefinition
extends IPlatformComponent

A platform definition encompasses the J2ME wireless toolkit, configuration and profiles that make up a J2ME platform. For instance, a Nokia 3650 provides CLDC 1.0 and MIDP 1.0, but adds the multimedia API's as well.

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.5 $
$Date: 2005/07/07 02:36:56 $

Author:
Craig Setera

Method Summary
 IConfiguration getConfiguration()
          Return the configuration that defines the base for this platform.
 IEmulator getEmulator()
          Get the emulator that is used to emulate devices for this platform definition.
 java.lang.String getName()
          Return the name of this platform definition.
 IPreverifier getPreverifier()
          Return the preverifier to be used to preverify classes for this platform definition.
 IProfile[] getProfiles()
          Return all of the profiles that are part of this platform.
 java.io.File getRoot()
          Get the current file system root in which this platform definition is stored.
 IWirelessToolkit getWirelessToolkit()
          Return the wireless toolkit that defines the base configuration and profile.
 
Methods inherited from interface eclipseme.core.model.IPlatformComponent
addDependentComponent, getDependentComponents, getIdentifier, getPersistenceDelegate, getVersion, hasDependentComponents, isDerived, removeDependentComponent
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getConfiguration

public IConfiguration getConfiguration()
Return the configuration that defines the base for this platform.

Returns:
the platform's configuration

getEmulator

public IEmulator getEmulator()
Get the emulator that is used to emulate devices for this platform definition.

Returns:
the platform's emulator

getName

public java.lang.String getName()
Return the name of this platform definition.

Specified by:
getName in interface IPlatformComponent
Returns:
the platform's name

getPreverifier

public IPreverifier getPreverifier()
Return the preverifier to be used to preverify classes for this platform definition.

Returns:
the platform's preverifier

getProfiles

public IProfile[] getProfiles()
Return all of the profiles that are part of this platform.

Returns:
the profiles that make up this platform

getRoot

public java.io.File getRoot()
Get the current file system root in which this platform definition is stored.

Returns:
The File instance representing the directory in which the platform definition is installed.

getWirelessToolkit

public IWirelessToolkit getWirelessToolkit()
Return the wireless toolkit that defines the base configuration and profile.

Returns:
the wireless toolkit that defines and interprets this platform