eclipseme.core.model
Interface IProfile

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

public interface IProfile
extends IPlatformComponent

Representation of a J2ME profile, such as MIDP. Each profile may provide one or more libraries to the platform, defining functionality such as bluetooth and 3D functionality.

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:57 $

Author:
Craig Setera

Method Summary
 org.eclipse.jdt.core.IClasspathEntry[] getLibraries()
          Return the libraries that make up this profile as a set of classpath entries.
 java.lang.String getSpecificationVersion()
          Return the version of this configuration as defined by the specification.
 IWirelessToolkit getWirelessToolkit()
          Get the wireless toolkit in which this profile is defined or null if not defined by a toolkit.
 void replaceLibrary(int index, org.eclipse.jdt.core.IClasspathEntry replacement)
          Replace the specified library entry with the specified replacement.
 
Methods inherited from interface eclipseme.core.model.IPlatformComponent
addDependentComponent, getDependentComponents, getIdentifier, getName, getPersistenceDelegate, getVersion, hasDependentComponents, isDerived, removeDependentComponent
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getLibraries

public org.eclipse.jdt.core.IClasspathEntry[] getLibraries()
Return the libraries that make up this profile as a set of classpath entries.

Returns:
an array of IClasspathEntry instances representing the libraries in the profile.

getSpecificationVersion

public java.lang.String getSpecificationVersion()
Return the version of this configuration as defined by the specification.

Returns:
the specification version

getWirelessToolkit

public IWirelessToolkit getWirelessToolkit()
Get the wireless toolkit in which this profile is defined or null if not defined by a toolkit.

Returns:
The wireless toolkit.

replaceLibrary

public void replaceLibrary(int index,
                           org.eclipse.jdt.core.IClasspathEntry replacement)
Replace the specified library entry with the specified replacement.

Parameters:
index - the library to be replaced
replacement - the replacement library