PTP
Release 7.0

org.eclipse.ptp.etfw.toolopts
Class BuildTool

java.lang.Object
  extended by org.eclipse.ptp.etfw.toolopts.ExternalTool
      extended by org.eclipse.ptp.etfw.toolopts.BuildTool

public class BuildTool
extends ExternalTool


Field Summary
protected  ToolApp allCompilers
           
protected  ToolApp ccCompiler
           
protected  ToolApp cxxCompiler
           
protected  ToolApp f90Compiler
           
 boolean replaceCompiler
          If true the compiler command is entirely replaced rather than prepended
protected  ToolApp upcCompiler
           
 
Fields inherited from class org.eclipse.ptp.etfw.toolopts.ExternalTool
global, requireTrue, toolID, toolName, toolType
 
Constructor Summary
BuildTool()
           
 
Method Summary
 java.util.ArrayList<IToolUITab> getAllCompilerPanes()
           
 ToolApp getCcCompiler()
           
 ToolApp getCxxCompiler()
           
 ToolApp getF90Compiler()
           
 ToolApp getGlobalCompiler()
           
 ToolApp getUPCCompiler()
           
 void setAllCompilers(ToolApp allCompilers)
          Associate the input ToolApp with all compilers
 void setCcCompiler(ToolApp ccCompiler)
          Associate the input ToolApp with the cc compiler
 void setCxxCompiler(ToolApp cxxCompiler)
          Associate the input ToolApp with the cxx compiler
 void setF90Compiler(ToolApp f90Compiler)
          Associate the input ToolApp with the f90 compiler
 void setUpcCompiler(ToolApp upcCompiler)
          Associate the input ToolApp with the upc compiler
 
Methods inherited from class org.eclipse.ptp.etfw.toolopts.ExternalTool
canRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

replaceCompiler

public boolean replaceCompiler
If true the compiler command is entirely replaced rather than prepended


ccCompiler

protected ToolApp ccCompiler

cxxCompiler

protected ToolApp cxxCompiler

f90Compiler

protected ToolApp f90Compiler

allCompilers

protected ToolApp allCompilers

upcCompiler

protected ToolApp upcCompiler
Constructor Detail

BuildTool

public BuildTool()
Method Detail

getAllCompilerPanes

public java.util.ArrayList<IToolUITab> getAllCompilerPanes()
Returns:
a list of the ui pane objects, if any, for all compilers associated with this tool

getCcCompiler

public ToolApp getCcCompiler()
Returns:
the cc compiler application or the one for all compilers if none are cc specific

getCxxCompiler

public ToolApp getCxxCompiler()
Returns:
the cxx compiler application or the one for all compilers if none are cxx specific

getF90Compiler

public ToolApp getF90Compiler()
Returns:
the f90 compiler application or the one for all compilers if none are f90 specific

getGlobalCompiler

public ToolApp getGlobalCompiler()
Returns:
the compiler application for all compilers

getUPCCompiler

public ToolApp getUPCCompiler()
Returns:
the upc compiler application or the one for all compilers if none are upc specific

setAllCompilers

public void setAllCompilers(ToolApp allCompilers)
Associate the input ToolApp with all compilers

Since:
5.0

setCcCompiler

public void setCcCompiler(ToolApp ccCompiler)
Associate the input ToolApp with the cc compiler

Since:
5.0

setCxxCompiler

public void setCxxCompiler(ToolApp cxxCompiler)
Associate the input ToolApp with the cxx compiler

Since:
5.0

setF90Compiler

public void setF90Compiler(ToolApp f90Compiler)
Associate the input ToolApp with the f90 compiler

Since:
5.0

setUpcCompiler

public void setUpcCompiler(ToolApp upcCompiler)
Associate the input ToolApp with the upc compiler

Since:
5.0

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.