org.eclipse.cdt.internal.core.cdtvariables
Class DefaultVariableContextInfo

java.lang.Object
  extended by org.eclipse.cdt.internal.core.cdtvariables.DefaultVariableContextInfo
All Implemented Interfaces:
ICoreVariableContextInfo, org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo

public class DefaultVariableContextInfo
extends java.lang.Object
implements ICoreVariableContextInfo

This is the default implementation of the IMacroContextInfo

Since:
3.0

Field Summary
 
Fields inherited from interface org.eclipse.cdt.internal.core.cdtvariables.ICoreVariableContextInfo
CONTEXT_CONFIGURATION, CONTEXT_ECLIPSEENV, CONTEXT_INSTALLATIONS, CONTEXT_WORKSPACE
 
Constructor Summary
DefaultVariableContextInfo(int type, java.lang.Object data)
           
 
Method Summary
 java.lang.Object getContextData()
          returns the context data
 int getContextType()
          returns the context type
 org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo getNext()
           
 org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier[] getSuppliers()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo
equals
 

Constructor Detail

DefaultVariableContextInfo

public DefaultVariableContextInfo(int type,
                                  java.lang.Object data)
Method Detail

getContextType

public int getContextType()
Description copied from interface: ICoreVariableContextInfo
returns the context type

Specified by:
getContextType in interface ICoreVariableContextInfo
Returns:
int

getContextData

public java.lang.Object getContextData()
Description copied from interface: ICoreVariableContextInfo
returns the context data

Specified by:
getContextData in interface ICoreVariableContextInfo
Returns:
Object

getSuppliers

public org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier[] getSuppliers()
Specified by:
getSuppliers in interface org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo

getNext

public org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo getNext()
Specified by:
getNext in interface org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo