Package 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
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
Fields inherited from class org.eclipse.cdt.core.CProjectNature
C_NATURE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCCNature
(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor mon) void
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 org.eclipse.cdt.core.CProjectNature
addCNature, addNature, deconfigure, getProject, removeCNature, removeNature, setProject
-
Field Details
-
CC_NATURE_ID
- See Also:
-
-
Constructor Details
-
CCProjectNature
public CCProjectNature()
-
-
Method Details
-
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.CoreExceptionChecks to ensure that a cnature already exists, if not throw a CoreException. Does NOT add a default builder- Specified by:
configure
in interfaceorg.eclipse.core.resources.IProjectNature
- Overrides:
configure
in classCProjectNature
- Throws:
org.eclipse.core.runtime.CoreException
- See Also:
-
IProjectNature.configure()
-