Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.core
Class IncludedFeatureReference

java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 

org.eclipse.update.core.model.ModelObject
          extended by 

org.eclipse.update.core.model.FeatureReferenceModel
              extended by 

org.eclipse.update.core.FeatureReference
                  extended by 

org.eclipse.update.core.model.IncludedFeatureReferenceModel
                      extended by 
org.eclipse.update.core.IncludedFeatureReference
All Implemented Interfaces:
IAdaptable, IFeatureReference, IIncludedFeatureReference, IPlatformEnvironment

Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This provisional API was never promoted to stable API, and may be removed from a future release of the platform.

public class IncludedFeatureReference
extends IncludedFeatureReferenceModel
implements IIncludedFeatureReference

This is a utility class representing the options of a nested feature. Feature will include other features. This class will represent the options of the inclusion.

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.

Since:
2.0.1
See Also:
VersionedIdentifier

Constructor Summary
IncludedFeatureReference ()
          Deprecated. Construct a included feature reference
IncludedFeatureReference ( IFeatureReference featureReference)
          Deprecated. Constructor IncludedFeatureReference.
IncludedFeatureReference ( IIncludedFeatureReference includedFeatureRef)
          Deprecated. Construct a feature options
IncludedFeatureReference ( IncludedFeatureReferenceModel includedFeatureRefModel)
          Deprecated.  
 
Method Summary
  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)
          Deprecated. Returns the feature this reference points to
 
Methods inherited from class org.eclipse.update.core.model. IncludedFeatureReferenceModel
getMatch, getSearchLocation, isOptional, isOptional, setMatchingRule, setSearchLocation
 
Methods inherited from class org.eclipse.update.core. FeatureReference
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
 
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. IIncludedFeatureReference
getMatch, getSearchLocation, isOptional
 
Methods inherited from interface org.eclipse.update.core. IFeatureReference
getName, getSite, getURL, getVersionedIdentifier, isPatch, setSite, setURL
 
Methods inherited from interface org.eclipse.update.core. IPlatformEnvironment
getNL, getOS, getOSArch, getWS
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Constructor Detail

IncludedFeatureReference

public IncludedFeatureReference()
Deprecated. 
Construct a included feature reference

Since:
2.1

IncludedFeatureReference

public IncludedFeatureReference(
IIncludedFeatureReference includedFeatureRef)
Deprecated. 
Construct a feature options

Parameters:
includedFeatureRef - reference to clone
Since:
2.0.2

IncludedFeatureReference

public IncludedFeatureReference(
IFeatureReference featureReference)
Deprecated. 
Constructor IncludedFeatureReference.

Parameters:
featureReference -

IncludedFeatureReference

public IncludedFeatureReference(
IncludedFeatureReferenceModel includedFeatureRefModel)
Deprecated. 
Method Detail

getFeature

public 
IFeature getFeature(boolean perfectMatch,
                           
IConfiguredSite configuredSite)
                    throws 
CoreException
Deprecated. use getFeature(IProgressMonitor)

Description copied from interface: IIncludedFeatureReference
Returns the referenced feature. This is a factory method that creates the full feature object.

Specified by:
getFeature in interface IIncludedFeatureReference
Parameters:
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.
Returns:
the referenced feature instead
Throws:
CoreException
See Also:
IIncludedFeatureReference.getFeature(boolean, IConfiguredSite)

getFeature

public 
IFeature getFeature(boolean perfectMatch,
                           
IConfiguredSite configuredSite,
                           
IProgressMonitor monitor)
                    throws 
CoreException
Deprecated. use getFeature(IProgressMonitor)

Description copied from interface: IIncludedFeatureReference
Returns the referenced feature. This is a factory method that creates the full feature object.

Specified by:
getFeature in interface IIncludedFeatureReference
Parameters:
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 monitor
Returns:
the referenced feature
Throws:
CoreException
See Also:
IIncludedFeatureReference.getFeature(boolean, IConfiguredSite,IProgressMonitor)

getFeature

public 
IFeature getFeature()
                    throws 
CoreException
Deprecated. use getFeature(IProgressMonitor)

Description copied from class: FeatureReference
Returns the feature this reference points to

Specified by:
getFeature in interface IFeatureReference
Specified by:
getFeature in interface IIncludedFeatureReference
Overrides:
getFeature in class FeatureReference
Returns:
the feature on the Site
Throws:
CoreException
See Also:
IFeatureReference.getFeature()

getFeature

public 
IFeature getFeature(
IProgressMonitor monitor)
                    throws 
CoreException
Deprecated. 
Description copied from class: FeatureReference
Returns the feature this reference points to

Specified by:
getFeature in interface IFeatureReference
Overrides:
getFeature in class FeatureReference
Parameters:
monitor - the progress monitor
Returns:
the feature on the Site
Throws:
CoreException
See Also:
(IProgressMonitor)

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire