|
|||||||||||
| 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.WirelessToolkit
This is the primary implementation of the IWirelessToolkit interface that assumes Sun's implementation of the wireless toolkit (or one that looks similar to Sun's implementation).
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 |
WirelessToolkit.WirelessToolkitPersistenceDelegate
Persistence delegate for wireless toolkit instances. |
| Field Summary | |
static java.lang.String |
ATTR_ROOT
|
| Constructor Summary | |
WirelessToolkit(IWirelessToolkitType type,
java.io.File root,
java.lang.String identifier,
org.eclipse.core.runtime.IProgressMonitor monitor)
Construct a new named toolkit. |
|
| Method Summary | |
void |
deregisterDerivedComponents()
Deregister all platform components derived/owned by this toolkit. |
IConfiguration[] |
getConfigurations()
Get the J2ME configurations provided by this toolkit. |
eclipseme.core.model.registry.IPersistenceDelegate |
getPersistenceDelegate()
Get the persistence delegate for this particular platform component. |
IPlatformDefinition[] |
getPlatformDefinitions()
Return the IPlatformDefinitions provided by this toolkit. |
IProfile[] |
getProfiles()
Get the J2ME profiles provided by this toolkit. |
java.io.File |
getRoot()
Get the current file system root in which this toolkit is stored. |
IWirelessToolkitType |
getType()
Return the wireless toolkit type associated with this toolkit. |
abstract void |
initializeToolkit(org.eclipse.core.runtime.IProgressMonitor monitor)
Initialize the information that makes up this toolkit. |
void |
setRoot(java.io.File root,
org.eclipse.core.runtime.IProgressMonitor monitor)
Set the current file system root in which this toolkit is stored. |
| 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 |
| Field Detail |
public static final java.lang.String ATTR_ROOT
| Constructor Detail |
public WirelessToolkit(IWirelessToolkitType type,
java.io.File root,
java.lang.String identifier,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws InvalidWirelessToolkitException
type - The wireless toolkit type that created and defines
this toolkit.root - The directory in which this toolkit is
stored.monitor - Progress monitor for tracking the
operation.
InvalidWirelessToolkitException - If the specified
root does not exist or does not contain a valid wireless
toolkit.| Method Detail |
public void deregisterDerivedComponents()
IWirelessToolkit
deregisterDerivedComponents in interface IWirelessToolkitIWirelessToolkit.deregisterDerivedComponents()public IConfiguration[] getConfigurations()
IWirelessToolkit
getConfigurations in interface IWirelessToolkitIWirelessToolkit.getConfigurations()public eclipseme.core.model.registry.IPersistenceDelegate getPersistenceDelegate()
IPlatformComponent
getPersistenceDelegate in interface IPlatformComponentIPlatformComponent.getPersistenceDelegate()public IPlatformDefinition[] getPlatformDefinitions()
IWirelessToolkit
getPlatformDefinitions in interface IWirelessToolkitIWirelessToolkit.getPlatformDefinitions()public IProfile[] getProfiles()
IWirelessToolkit
getProfiles in interface IWirelessToolkitIWirelessToolkit.getProfiles()public java.io.File getRoot()
IWirelessToolkit
getRoot in interface IWirelessToolkitIWirelessToolkit.getRoot()public IWirelessToolkitType getType()
IWirelessToolkit
getType in interface IWirelessToolkitIWirelessToolkit.getType()
public void setRoot(java.io.File root,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws InvalidWirelessToolkitException
IWirelessToolkit
setRoot in interface IWirelessToolkitroot - The File instance representing the directory
in which the toolkit is installed.
InvalidWirelessToolkitException - If the specified
root does not exist or does not contain a valid wireless
toolkit.IWirelessToolkit.setRoot(java.io.File, org.eclipse.core.runtime.IProgressMonitor)public abstract void initializeToolkit(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||