|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.eclipse.core.runtime.PlatformObject
|
+--org.eclipse.update.core.model.ModelObject
|
+--org.eclipse.update.core.model.FeatureReferenceModel
|
+--org.eclipse.update.core.FeatureReference
Convenience implementation of a feature reference.
This class may be instantiated or subclassed by clients.
IFeatureReference,
FeatureReferenceModel| Constructor Summary | |
FeatureReference()
Feature reference default constructor |
|
FeatureReference(FeatureReferenceModel ref)
Constructor FeatureReference. |
|
FeatureReference(IFeatureReference ref)
Constructor FeatureReference. |
|
| Method Summary | |
IFeature |
getFeature()
Deprecated. |
protected IFeature |
getFeature(IFeatureReference ref,
IProgressMonitor monitor)
Returns the feature the reference points to |
IFeature |
getFeature(IProgressMonitor monitor)
Returns the feature this reference points to |
String |
getName()
Returns the label for the referenced feature |
String |
getNL()
Get optional locale specification as a comma-separated string. |
String |
getOS()
Get optional operating system specification as a comma-separated string. |
String |
getOSArch()
Get optional system architecture specification as a comma-separated string. |
ISite |
getSite()
Returns the update site for the referenced feature |
VersionedIdentifier |
getVersionedIdentifier()
Returns the feature identifier. |
String |
getWS()
Get optional windowing system specification as a comma-separated string. |
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 class org.eclipse.update.core.model.FeatureReferenceModel |
equals, getFeatureIdentifier, getFeatureVersion, getLabel, getLabelNonLocalized, getPatch, getPropertyName, getSiteModel, getType, getURL, getURLString, resolve, setArch, setFeatureIdentifier, setFeatureVersion, setLabel, setNL, setOS, setPatch, setSiteModel, setType, setURLString, setWS, toString |
| Methods inherited from class org.eclipse.update.core.model.ModelObject |
arrayTypeFor, arrayTypeFor, assertIsWriteable, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURL |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.update.core.IFeatureReference |
getURL |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Constructor Detail |
public FeatureReference()
public FeatureReference(IFeatureReference ref)
ref - the reference to copypublic FeatureReference(FeatureReferenceModel ref)
ref - the reference to copy| Method Detail |
public IFeature getFeature()
throws CoreException
getFeature in interface IFeatureReference
public IFeature getFeature(IProgressMonitor monitor)
throws CoreException
getFeature in interface IFeatureReference
protected IFeature getFeature(IFeatureReference ref,
IProgressMonitor monitor)
throws CoreException
the - feature referencepublic ISite getSite()
getSite in interface IFeatureReferenceIFeatureReference.getSite()
public void setURL(URL url)
throws CoreException
setURL in interface IFeatureReferenceIFeatureReference.setURL(URL)public void setSite(ISite site)
setSite in interface IFeatureReferenceIFeatureReference.setSite(ISite)public VersionedIdentifier getVersionedIdentifier()
getVersionedIdentifier in interface IFeatureReferenceIFeatureReference.getVersionedIdentifier()public String getName()
IFeatureReferencegetName in interface IFeatureReferenceIFeatureReference.getName()public String getOS()
getOS in interface IPlatformEnvironmentgetOS in class FeatureReferenceModelnull.BootLoaderpublic String getWS()
getWS in interface IPlatformEnvironmentgetWS in class FeatureReferenceModelnull.BootLoaderpublic String getOSArch()
getOSArch in interface IPlatformEnvironmentgetOSArch in class FeatureReferenceModelnull.BootLoaderpublic String getNL()
getNL in interface IPlatformEnvironmentgetNL in class FeatureReferenceModelnull.public boolean isPatch()
true if this feature is patching another feature,
false otherwiseisPatch in interface IFeatureReference
|
Eclipse Platform 2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||