org.eclipse.cdt.make.core.scannerconfig
Class ScannerConfigNature

java.lang.Object
  extended by org.eclipse.cdt.make.core.scannerconfig.ScannerConfigNature
All Implemented Interfaces:
org.eclipse.core.resources.IProjectNature

public class ScannerConfigNature
extends java.lang.Object
implements org.eclipse.core.resources.IProjectNature

See Also:
IProjectNature

Field Summary
static java.lang.String NATURE_ID
           
 
Constructor Summary
ScannerConfigNature()
           
 
Method Summary
static void addScannerConfigNature(org.eclipse.core.resources.IProject project)
           
 void configure()
           
 void deconfigure()
           
static org.eclipse.core.resources.ICommand getBuildSpec(org.eclipse.core.resources.IProjectDescription description, java.lang.String builderID)
          Returns build command as stored in .project file
 org.eclipse.core.resources.IProject getProject()
           
static void initializeDiscoveryOptions(org.eclipse.core.resources.IProject project)
           
static void removeScannerConfigNature(org.eclipse.core.resources.IProject project)
           
static org.eclipse.core.resources.IProjectDescription setBuildSpec(org.eclipse.core.resources.IProjectDescription description, org.eclipse.core.resources.ICommand newCommand)
          Stores a build command in .project file
 void setProject(org.eclipse.core.resources.IProject project)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NATURE_ID

public static final java.lang.String NATURE_ID
Constructor Detail

ScannerConfigNature

public ScannerConfigNature()
Method Detail

configure

public void configure()
               throws org.eclipse.core.runtime.CoreException
Specified by:
configure in interface org.eclipse.core.resources.IProjectNature
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IProjectNature.configure()

deconfigure

public void deconfigure()
                 throws org.eclipse.core.runtime.CoreException
Specified by:
deconfigure in interface org.eclipse.core.resources.IProjectNature
Throws:
org.eclipse.core.runtime.CoreException
See Also:
IProjectNature.deconfigure()

getProject

public org.eclipse.core.resources.IProject getProject()
Specified by:
getProject in interface org.eclipse.core.resources.IProjectNature
See Also:
IProjectNature.getProject()

setProject

public void setProject(org.eclipse.core.resources.IProject project)
Specified by:
setProject in interface org.eclipse.core.resources.IProjectNature
See Also:
IProjectNature.setProject(org.eclipse.core.resources.IProject)

addScannerConfigNature

public static void addScannerConfigNature(org.eclipse.core.resources.IProject project)
                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

removeScannerConfigNature

public static void removeScannerConfigNature(org.eclipse.core.resources.IProject project)
                                      throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getBuildSpec

public static org.eclipse.core.resources.ICommand getBuildSpec(org.eclipse.core.resources.IProjectDescription description,
                                                               java.lang.String builderID)
Returns build command as stored in .project file

Parameters:
description -
builderID -
Returns:
ICommand

setBuildSpec

public static org.eclipse.core.resources.IProjectDescription setBuildSpec(org.eclipse.core.resources.IProjectDescription description,
                                                                          org.eclipse.core.resources.ICommand newCommand)
Stores a build command in .project file

Parameters:
description -
newCommand -
Returns:
IProjecDescription

initializeDiscoveryOptions

public static void initializeDiscoveryOptions(org.eclipse.core.resources.IProject project)
Parameters:
project -