public class IncludedFeatureReference extends IncludedFeatureReferenceModel implements IIncludedFeatureReference
Clients may instantiate; not intended to be 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.
VersionedIdentifier
Constructor and Description |
---|
IncludedFeatureReference()
Construct a included feature reference
|
IncludedFeatureReference(IFeatureReference featureReference)
Constructor IncludedFeatureReference.
|
IncludedFeatureReference(IIncludedFeatureReference includedFeatureRef)
Construct a feature options
|
Modifier and Type | Method and Description |
---|---|
IFeature |
getFeature()
Deprecated.
use getFeature(IProgressMonitor)
|
IFeature |
getFeature(boolean perfectMatch,
IConfiguredSite configuredSite)
Deprecated.
use getFeature(IProgressMonitor)
|
IFeature |
getFeature(boolean perfectMatch,
IConfiguredSite configuredSite,
IProgressMonitor monitor)
Deprecated.
use getFeature(IProgressMonitor)
|
IFeature |
getFeature(IProgressMonitor monitor)
Returns the feature this reference points to
|
getMatch, getSearchLocation, isOptional, isOptional, setMatchingRule, setSearchLocation
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
getMatch, getSearchLocation, isOptional
getName, getSite, getURL, getVersionedIdentifier, isPatch, setSite, setURL
getNL, getOS, getOSArch, getWS
getAdapter
public IncludedFeatureReference()
public IncludedFeatureReference(IIncludedFeatureReference includedFeatureRef)
includedFeatureRef
- reference to clonepublic IncludedFeatureReference(IFeatureReference featureReference)
featureReference
- public IFeature getFeature(boolean perfectMatch, IConfiguredSite configuredSite) throws CoreException
IIncludedFeatureReference
getFeature
in interface IIncludedFeatureReference
perfectMatch
- true
if the perfect match feature feature should be returned
false
if the best match feature should be returned.configuredSite
- the configured site to search for the Feature. If
the configured site is null
the search will be done in the current configured site.CoreException
IIncludedFeatureReference.getFeature(boolean,
IConfiguredSite)
public IFeature getFeature(boolean perfectMatch, IConfiguredSite configuredSite, IProgressMonitor monitor) throws CoreException
IIncludedFeatureReference
getFeature
in interface IIncludedFeatureReference
perfectMatch
- true
if the perfect match feature feature should be returned
false
if the best match feature should be returned.configuredSite
- the configured site to search for the Feature. If
the configured site is null
the search will be done in the current configured site.monitor
- the progress monitorCoreException
IIncludedFeatureReference.getFeature(boolean,
IConfiguredSite,IProgressMonitor)
public IFeature getFeature() throws CoreException
FeatureReference
getFeature
in interface IFeatureReference
getFeature
in interface IIncludedFeatureReference
getFeature
in class FeatureReference
CoreException
IFeatureReference.getFeature()
public IFeature getFeature(IProgressMonitor monitor) throws CoreException
FeatureReference
getFeature
in interface IFeatureReference
getFeature
in class FeatureReference
monitor
- the progress monitorCoreException
(IProgressMonitor)
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.