|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Local Site. Represents the local installation. It consists of the current configuration and the configuration history. A local site manages the number of configuration histories kept. It also allows specific configuration histories to be saved.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
Method Summary | |
void | addConfiguration(IInstallConfiguration config)
Adds the specified configuration to this local site. |
void | addLocalSiteChangedListener(ILocalSiteChangedListener listener)
Adds a site change listener |
IInstallConfiguration | addToPreservedConfigurations(IInstallConfiguration configuration)
Save the specified configuration. |
IInstallConfiguration | cloneCurrentConfiguration()
Creates a new configuration containing the same state as the specified configuration. |
IInstallConfiguration[] | getConfigurationHistory()
Return configuration history. |
IInstallConfiguration | getCurrentConfiguration()
Return the current configuration. |
IStatus | getFeatureStatus(IFeature feature)
Indicates if the 'state' of the specified feature and its children features. |
int | getMaximumHistoryCount()
Indicates how many configuration histories should be maintained. |
IInstallConfiguration[] | getPreservedConfigurations()
Return the list of saved configurations |
void | removeFromPreservedConfigurations(IInstallConfiguration configuration)
Removes the specified configuration from the list of previously saved configurations. |
void | removeLocalSiteChangedListener(ILocalSiteChangedListener listener)
Removes a site listener |
void | revertTo(IInstallConfiguration configuration,
IProgressMonitor monitor,
IProblemHandler handler)
Reverts the local site to use the specified configuration. |
boolean | save()
Saves the local site state |
void | setMaximumHistoryCount(int history)
Sets the number of past configurations to keep in history |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Method Detail |
public IInstallConfiguration getCurrentConfiguration()
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public IInstallConfiguration[] getConfigurationHistory()
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public void revertTo(IInstallConfiguration configuration, IProgressMonitor monitor, IProblemHandler handler) throws CoreException
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public IInstallConfiguration cloneCurrentConfiguration() throws CoreException
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public void addConfiguration(IInstallConfiguration config)
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public boolean save() throws CoreException
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public int getMaximumHistoryCount()
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public void setMaximumHistoryCount(int history)
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public void addLocalSiteChangedListener(ILocalSiteChangedListener listener)
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public void removeLocalSiteChangedListener(ILocalSiteChangedListener listener)
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public IInstallConfiguration addToPreservedConfigurations(IInstallConfiguration configuration) throws CoreException
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public void removeFromPreservedConfigurations(IInstallConfiguration configuration)
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public IInstallConfiguration[] getPreservedConfigurations()
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
public IStatus getFeatureStatus(IFeature feature) throws CoreException
Note: This method is part of an interim API that is still under development and expected to change significantly 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 (repeatedly) as the API evolves.
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.