Class JavaNature
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaNature
- All Implemented Interfaces:
org.eclipse.core.resources.IProjectNature
Implements nature of
JavaCore.NATURE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addToBuildSpec
(String builderID) Adds a builder to the build spec for the given project.void
Configure the project with Java nature.void
/** Removes the Java nature from the project.org.eclipse.core.resources.IProject
protected void
removeFromBuildSpec
(String builderID) Removes the given builder from the build spec for the given project.void
setProject
(org.eclipse.core.resources.IProject project)
-
Constructor Details
-
JavaNature
public JavaNature()
-
-
Method Details
-
getProject
public org.eclipse.core.resources.IProject getProject()- Specified by:
getProject
in interfaceorg.eclipse.core.resources.IProjectNature
-
setProject
public void setProject(org.eclipse.core.resources.IProject project) - Specified by:
setProject
in interfaceorg.eclipse.core.resources.IProjectNature
-
configure
public void configure() throws org.eclipse.core.runtime.CoreExceptionConfigure the project with Java nature.- Specified by:
configure
in interfaceorg.eclipse.core.resources.IProjectNature
- Throws:
org.eclipse.core.runtime.CoreException
-
deconfigure
public void deconfigure() throws org.eclipse.core.runtime.CoreException/** Removes the Java nature from the project.- Specified by:
deconfigure
in interfaceorg.eclipse.core.resources.IProjectNature
- Throws:
org.eclipse.core.runtime.CoreException
-
addToBuildSpec
Adds a builder to the build spec for the given project.- Throws:
org.eclipse.core.runtime.CoreException
-
removeFromBuildSpec
Removes the given builder from the build spec for the given project.- Throws:
org.eclipse.core.runtime.CoreException
-