org.eclipse.cdt.build.core.scannerconfig
Class ScannerConfigNature
java.lang.Object
org.eclipse.cdt.build.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
|
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 |
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 |
NATURE_ID
public static final java.lang.String NATURE_ID
ScannerConfigNature
public ScannerConfigNature()
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