|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecteclipseme.core.model.impl.PlatformComponent
eclipseme.core.model.impl.Profile
Standard implementation of the IProfile 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
IProfile,
Serialized Form| Nested Class Summary | |
static class |
Profile.ProfilePersistenceDelegate
Persistence support for the Profile class. |
| Constructor Summary | |
Profile(IWirelessToolkit toolkit,
java.lang.String identifier,
java.lang.String name)
Construct a new Profile instance. |
|
Profile(IWirelessToolkit toolkit,
java.lang.String identifier,
java.lang.String name,
Version version)
Construct a new Profile instance. |
|
| Method Summary | |
void |
addLibraries(org.eclipse.jdt.core.IClasspathEntry[] libraries)
Add a set of new libraries to this profile. |
void |
addLibrary(org.eclipse.jdt.core.IClasspathEntry library)
Add a new library to this profile. |
org.eclipse.jdt.core.IClasspathEntry[] |
getLibraries()
Return the libraries that make up this profile as a set of classpath entries. |
eclipseme.core.model.registry.IPersistenceDelegate |
getPersistenceDelegate()
Get the persistence delegate for this particular platform component. |
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. |
void |
setSpecificationVersion(java.lang.String specVersion)
Set the specification version. |
| Methods inherited from class eclipseme.core.model.impl.PlatformComponent |
addDependentComponent, getAdapter, getDependentComponents, getIdentifier, getName, getVersion, hasDependentComponents, isDerived, removeDependentComponent, setDerived |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eclipseme.core.model.IPlatformComponent |
addDependentComponent, getDependentComponents, getIdentifier, getName, getVersion, hasDependentComponents, isDerived, removeDependentComponent |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Constructor Detail |
public Profile(IWirelessToolkit toolkit,
java.lang.String identifier,
java.lang.String name,
Version version)
public Profile(IWirelessToolkit toolkit,
java.lang.String identifier,
java.lang.String name)
| Method Detail |
public void addLibrary(org.eclipse.jdt.core.IClasspathEntry library)
library - the IClasspathEntry to be added to this profilepublic void addLibraries(org.eclipse.jdt.core.IClasspathEntry[] libraries)
libraries - an array of IClasspathEntry instances to be
added to this profilepublic org.eclipse.jdt.core.IClasspathEntry[] getLibraries()
IProfile
getLibraries in interface IProfileIProfile.getLibraries()public eclipseme.core.model.registry.IPersistenceDelegate getPersistenceDelegate()
IPlatformComponent
getPersistenceDelegate in interface IPlatformComponentIPlatformComponent.getPersistenceDelegate()public java.lang.String getSpecificationVersion()
IProfile
getSpecificationVersion in interface IProfileIConfiguration.getSpecificationVersion()public IWirelessToolkit getWirelessToolkit()
IProfilenull if not defined by a toolkit.
getWirelessToolkit in interface IProfileIProfile.getWirelessToolkit()
public void replaceLibrary(int index,
org.eclipse.jdt.core.IClasspathEntry replacement)
IProfile
replaceLibrary in interface IProfileindex - the library to be replacedreplacement - the replacement libraryIProfile.replaceLibrary(int, org.eclipse.jdt.core.IClasspathEntry)public void setSpecificationVersion(java.lang.String specVersion)
specVersion - the version
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||