public class SiteFeatureReference extends SiteFeatureReferenceModel implements ISiteFeatureReference
This class may be instantiated or subclassed by clients.
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.
IFeatureReference
,
FeatureReferenceModel
,
ISiteFeatureReference
,
SiteFeatureReferenceModel
Constructor and Description |
---|
SiteFeatureReference()
Feature reference default constructor
|
SiteFeatureReference(ISiteFeatureReference ref)
Constructor FeatureReference.
|
Modifier and Type | Method and Description |
---|---|
void |
addCategory(ICategory category)
Adds a category to the referenced feature.
|
ICategory[] |
getCategories()
Returns an array of categories the referenced feature belong to.
|
addCategoryName, getCategoryNames, removeCategoryName, setCategoryNames
getFeature, getFeature, getFeature, getName, getNL, getOS, getOSArch, getSite, getVersionedIdentifier, getWS, isPatch, setSite, setURL
equals, getFeatureIdentifier, getFeatureVersion, getLabel, getLabelNonLocalized, getPatch, getPropertyName, getSiteModel, getType, getURL, getURLString, resolve, setArch, setFeatureIdentifier, setFeatureVersion, setLabel, setNL, setOS, setPatch, setSiteModel, setType, setURLString, setWS, toString
arrayTypeFor, arrayTypeFor, assertIsWriteable, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolveListReference, resolveNLString, resolveReference, resolveURL
getAdapter
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFeature, getFeature, getName, getSite, getURL, getVersionedIdentifier, isPatch, setSite, setURL
getNL, getOS, getOSArch, getWS
getAdapter
public SiteFeatureReference()
public SiteFeatureReference(ISiteFeatureReference ref)
ref
- the reference to copypublic ICategory[] getCategories()
getCategories
in interface ISiteFeatureReference
ISiteFeatureReference.getCategories()
public void addCategory(ICategory category)
addCategory
in interface ISiteFeatureReference
category
- new categoryISiteFeatureReference.addCategory(ICategory)
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.