|
|||||||||||
| 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.PlatformDefinition
Standard implementation of the IPlatformDefinition 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
| Nested Class Summary | |
static class |
PlatformDefinition.PlatformDefinitionPersistenceDelegate
Persistence delegation support for PlatformDefinition objects. |
| Constructor Summary | |
PlatformDefinition(IWirelessToolkit toolkit,
java.lang.String identifier,
java.lang.String name,
java.io.File root,
IEmulator emulator,
IPreverifier preverifier,
IConfiguration configuration)
Construct a new platform definition. |
|
| Method Summary | |
void |
addProfile(IProfile profile)
Add a new profile to this platform definition. |
void |
addProfiles(IProfile[] profiles)
Add the array of new profiles to this platform definition. |
static org.eclipse.jdt.core.IClasspathEntry[] |
getClasspathEntriesForPlatform(IPlatformDefinition platform)
Return the classpath entries for the specified platformm. |
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. |
eclipseme.core.model.registry.IPersistenceDelegate |
getPersistenceDelegate()
Get the persistence delegate for this particular platform component. |
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 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.IPlatformDefinition |
getName |
| Methods inherited from interface eclipseme.core.model.IPlatformComponent |
addDependentComponent, getDependentComponents, getIdentifier, getVersion, hasDependentComponents, isDerived, removeDependentComponent |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Constructor Detail |
public PlatformDefinition(IWirelessToolkit toolkit,
java.lang.String identifier,
java.lang.String name,
java.io.File root,
IEmulator emulator,
IPreverifier preverifier,
IConfiguration configuration)
name - toolkit - root - emulator - preverifier - configuration - | Method Detail |
public void addProfile(IProfile profile)
profile - the profile to add to the platformpublic void addProfiles(IProfile[] profiles)
profiles - the profiles to add to the platformpublic IConfiguration getConfiguration()
IPlatformDefinition
getConfiguration in interface IPlatformDefinitionIPlatformDefinition.getConfiguration()public IEmulator getEmulator()
IPlatformDefinition
getEmulator in interface IPlatformDefinitionIPlatformDefinition.getEmulator()public eclipseme.core.model.registry.IPersistenceDelegate getPersistenceDelegate()
IPlatformComponent
getPersistenceDelegate in interface IPlatformComponentIPlatformComponent.getPersistenceDelegate()public IPreverifier getPreverifier()
IPlatformDefinition
getPreverifier in interface IPlatformDefinitionIPlatformDefinition.getPreverifier()public IProfile[] getProfiles()
IPlatformDefinition
getProfiles in interface IPlatformDefinitionIPlatformDefinition.getProfiles()public java.io.File getRoot()
IPlatformDefinition
getRoot in interface IPlatformDefinitionIPlatformDefinition.getRoot()public IWirelessToolkit getWirelessToolkit()
IPlatformDefinition
getWirelessToolkit in interface IPlatformDefinitionIPlatformDefinition.getWirelessToolkit()public static org.eclipse.jdt.core.IClasspathEntry[] getClasspathEntriesForPlatform(IPlatformDefinition platform)
platform - the platform to be queried
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||