org.eclipse.cdt.internal.core.envvar
Class DefaultEnvironmentContextInfo

java.lang.Object
  extended by org.eclipse.cdt.internal.core.envvar.DefaultEnvironmentContextInfo
All Implemented Interfaces:
IEnvironmentContextInfo

public class DefaultEnvironmentContextInfo
extends java.lang.Object
implements IEnvironmentContextInfo

The default implementation of the IContextInfo used by the Environment Variable Provider Used to represent the Configuration, Project, Workspace and Eclipse environment contexts

Since:
3.0

Constructor Summary
DefaultEnvironmentContextInfo(java.lang.Object context)
          This constructor is used to create the default context info given a context object
 
Method Summary
 java.lang.Object getContext()
          Returns the current context
 IEnvironmentContextInfo getNext()
          Returns the next lower-precedence context
 ICoreEnvironmentVariableSupplier[] getSuppliers()
          Returns the array of suppliers to be used for this context
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEnvironmentContextInfo

public DefaultEnvironmentContextInfo(java.lang.Object context)
This constructor is used to create the default context info given a context object

Parameters:
context -
Method Detail

getNext

public IEnvironmentContextInfo getNext()
Description copied from interface: IEnvironmentContextInfo
Returns the next lower-precedence context

Specified by:
getNext in interface IEnvironmentContextInfo
Returns:
IContextInfo

getSuppliers

public ICoreEnvironmentVariableSupplier[] getSuppliers()
Description copied from interface: IEnvironmentContextInfo
Returns the array of suppliers to be used for this context

Specified by:
getSuppliers in interface IEnvironmentContextInfo
Returns:
IEnvironmentVariableSupplier[]

getContext

public java.lang.Object getContext()
Description copied from interface: IEnvironmentContextInfo
Returns the current context

Specified by:
getContext in interface IEnvironmentContextInfo
Returns:
Object