org.eclipse.cdt.managedbuilder.internal.core
Class EnvVarBuildPath

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.core.EnvVarBuildPath
All Implemented Interfaces:
IEnvVarBuildPath

public class EnvVarBuildPath
extends java.lang.Object
implements IEnvVarBuildPath


Field Summary
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IEnvVarBuildPath
BUILD_PATH_ELEMENT_NAME, BUILD_PATH_RESOLVER, BUILDPATH_INCLUDE, BUILDPATH_LIBRARY, LIST, NAME_SEPARATOR, PATH_DELIMITER, TYPE, TYPE_INCLUDE, TYPE_LIBRARY
 
Constructor Summary
EnvVarBuildPath(ITool tool, IManagedConfigElement element)
          Constructor to create an EnvVarBuildPath based on an element from the plugin manifest.
 
Method Summary
 IBuildPathResolver getBuildPathResolver()
           
 java.lang.String[] getNamesFromString(java.lang.String names)
           
 java.lang.String getPathDelimiter()
           
 int getType()
           
 java.lang.String[] getVariableNames()
           
 void setPathDelimiter(java.lang.String delimiter)
           
 void setType(int type)
           
 void setVariableNames(java.lang.String names)
           
 void setVariableNames(java.lang.String[] names)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvVarBuildPath

public EnvVarBuildPath(ITool tool,
                       IManagedConfigElement element)
Constructor to create an EnvVarBuildPath based on an element from the plugin manifest.

Parameters:
element - The element containing the information about the tool.
Method Detail

getType

public int getType()
Specified by:
getType in interface IEnvVarBuildPath
Returns:
one of the ITool.BUILDPATH _xxx

setType

public void setType(int type)

getVariableNames

public java.lang.String[] getVariableNames()
Specified by:
getVariableNames in interface IEnvVarBuildPath
Returns:
the array of String representing the build variable names

setVariableNames

public void setVariableNames(java.lang.String[] names)

setVariableNames

public void setVariableNames(java.lang.String names)

getNamesFromString

public java.lang.String[] getNamesFromString(java.lang.String names)

getPathDelimiter

public java.lang.String getPathDelimiter()
Specified by:
getPathDelimiter in interface IEnvVarBuildPath
Returns:
the String representing the path delimiter used in the variables returned by the getVariableNames() method

setPathDelimiter

public void setPathDelimiter(java.lang.String delimiter)

getBuildPathResolver

public IBuildPathResolver getBuildPathResolver()
Specified by:
getBuildPathResolver in interface IEnvVarBuildPath
Returns:
the IBuildPathResolver interface implementation provided by the tool-integrator in order to specify his/her own logic of resolving the variable values to the build paths (see also the "Specifying the Includes and Library paths environment variables" and the "IBuildPathResolver" sections for more detail and for explanation why this callback might be needed)