org.eclipse.cdt.managedbuilder.core
Interface IOptionPathConverter


public interface IOptionPathConverter

An IOptionPathConverter converts between tool-specific paths and their platform locations


Method Summary
 org.eclipse.core.runtime.IPath convertToPlatformLocation(java.lang.String toolSpecificPath, IOption option, ITool tool)
          Convert from a tool specific path to a platform location, e.g.
 

Method Detail

convertToPlatformLocation

org.eclipse.core.runtime.IPath convertToPlatformLocation(java.lang.String toolSpecificPath,
                                                         IOption option,
                                                         ITool tool)
Convert from a tool specific path to a platform location, e.g. "/usr/include" for a Cygwin tool gets converted to "c:\\cygwin\\usr\\include"

Parameters:
toolSpecificPath - The string representation of the tool-specific path
option - TODO
tool - TODO
Returns:
A path which is a meaningful platform location or null, if the conversion fails.