org.eclipse.cdt.core
Class CCProjectNature
java.lang.Object
org.eclipse.cdt.core.CProjectNature
org.eclipse.cdt.core.CCProjectNature
- All Implemented Interfaces:
- org.eclipse.core.resources.IProjectNature
public class CCProjectNature
- extends CProjectNature
Method Summary |
static void |
addCCNature(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor mon)
|
void |
configure()
Checks to ensure that a cnature already exists,
if not throw a CoreException. |
static void |
removeCCNature(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor mon)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CC_NATURE_ID
public static final java.lang.String CC_NATURE_ID
- See Also:
- Constant Field Values
CCProjectNature
public CCProjectNature()
addCCNature
public static void addCCNature(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor mon)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
removeCCNature
public static void removeCCNature(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor mon)
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
configure
public void configure()
throws org.eclipse.core.runtime.CoreException
- Checks to ensure that a cnature already exists,
if not throw a CoreException. Does NOT add a default builder
- Specified by:
configure
in interface org.eclipse.core.resources.IProjectNature
- Overrides:
configure
in class CProjectNature
- Throws:
org.eclipse.core.runtime.CoreException
- See Also:
IProjectNature#configure