org.eclipse.update.core
Interface ISiteFeatureReference
- All Superinterfaces:
- IAdaptable, IFeatureReference, IPlatformEnvironment
- All Known Implementing Classes:
- SiteFeatureReference
- public interface ISiteFeatureReference
- extends IFeatureReference, IAdaptable
Site Feature reference.
A reference to a feature on a particular update site.
Clients may implement this interface. However, in most cases clients should
directly instantiate or subclass the provided implementation of this
interface.
- Since:
- 2.1
- See Also:
SiteFeatureReference
getCategories
public ICategory[] getCategories()
- Returns an array of categories the referenced feature belong to.
- Returns:
- an array of categories, or an empty array
- Since:
- 2.1
addCategory
public void addCategory(ICategory category)
- Adds a category to the referenced feature.
- Parameters:
category
- new category- Since:
- 2.1
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.