org.eclipse.update.core
Class SiteFeatureReference
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
|
+--org.eclipse.update.core.SiteFeatureReferenceModel
|
+--org.eclipse.update.core.SiteFeatureReference
- All Implemented Interfaces:
- IAdaptable, IFeatureReference, IPlatformEnvironment, ISiteFeatureReference
- public class SiteFeatureReference
- extends SiteFeatureReferenceModel
- implements ISiteFeatureReference
Convenience implementation of a feature reference.
This class may be instantiated or subclassed by clients.
- Since:
- 2.1
- See Also:
IFeatureReference
,
FeatureReferenceModel
,
ISiteFeatureReference
,
SiteFeatureReferenceModel
Methods inherited from class org.eclipse.update.core.FeatureReference |
getFeature, getFeature, getFeature, getName, getNL, getOS, getOSArch, getSite, getVersionedIdentifier, getWS, isPatch, setSite, setURL |
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 |
SiteFeatureReference
public SiteFeatureReference()
- Feature reference default constructor
SiteFeatureReference
public SiteFeatureReference(ISiteFeatureReference ref)
- Constructor FeatureReference.
- Parameters:
ref
- the reference to copy
getCategories
public ICategory[] getCategories()
- Returns an array of categories the referenced feature belong to.
- Specified by:
getCategories
in interface ISiteFeatureReference
- Since:
- 2.1
- See Also:
ISiteFeatureReference.getCategories()
addCategory
public void addCategory(ICategory category)
- Adds a category to the referenced feature.
- Specified by:
addCategory
in interface ISiteFeatureReference
- Since:
- 2.1
- See Also:
ISiteFeatureReference.addCategory(ICategory)
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.