public interface IFeatureReference extends IAdaptable, IPlatformEnvironment
Clients may implement this interface. However, in most cases clients should directly instantiate or subclass the provided implementation of this interface.
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.
FeatureReference| Modifier and Type | Method and Description |
|---|---|
IFeature |
getFeature()
Deprecated.
use getFeature(IProgressMonitor) instead
|
IFeature |
getFeature(IProgressMonitor monitor)
Returns the referenced feature.
|
String |
getName()
Returns the label for the referenced feature
|
ISite |
getSite()
Returns the update site for the referenced feature
|
URL |
getURL()
Returns the referenced feature URL.
|
VersionedIdentifier |
getVersionedIdentifier()
Returns the feature identifier.
|
boolean |
isPatch()
Returns
true if this feature is patching another feature,
false otherwise |
void |
setSite(ISite site)
Associates a site with the feature reference.
|
void |
setURL(URL url)
Sets the feature reference URL.
|
getNL, getOS, getOSArch, getWSgetAdapterURL getURL()
ISite getSite()
String getName()
IFeature getFeature() throws CoreException
CoreExceptionIFeature getFeature(IProgressMonitor monitor) throws CoreException
monitor - the progress monitorCoreExceptionVersionedIdentifier getVersionedIdentifier() throws CoreException
CoreExceptionvoid setURL(URL url) throws CoreException
url - reference URLCoreExceptionvoid setSite(ISite site)
site - site for the feature referenceboolean isPatch()
true if this feature is patching another feature,
false otherwiseGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.