|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Feature reference. A reference to a feature.
Clients may implement this interface. However, in most cases clients should directly instantiate or subclass the provided implementation of this interface.
FeatureReference| Method Summary | |
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. |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Methods inherited from interface org.eclipse.update.core.IPlatformEnvironment |
getNL, getOS, getOSArch, getWS |
| Method Detail |
public URL getURL()
public ISite getSite()
public String getName()
public IFeature getFeature()
throws CoreException
CoreException
public IFeature getFeature(IProgressMonitor monitor)
throws CoreException
monitor - the progress monitor
CoreException
public VersionedIdentifier getVersionedIdentifier()
throws CoreException
CoreException
public void setURL(URL url)
throws CoreException
url - reference URL
CoreExceptionpublic void setSite(ISite site)
site - site for the feature referencepublic boolean isPatch()
true if this feature is patching another feature,
false otherwise
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||