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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToBuildSpec(String builderID) Adds a builder to the build spec for the given project.voidConfigure the project with Java nature.void/** Removes the Java nature from the project.org.eclipse.core.resources.IProjectprotected voidremoveFromBuildSpec(String builderID) Removes the given builder from the build spec for the given project.voidsetProject(org.eclipse.core.resources.IProject project)
-
Constructor Details
-
JavaNature
public JavaNature()
-
-
Method Details
-
getProject
public org.eclipse.core.resources.IProject getProject()- Specified by:
getProjectin interfaceorg.eclipse.core.resources.IProjectNature
-
setProject
public void setProject(org.eclipse.core.resources.IProject project) - Specified by:
setProjectin interfaceorg.eclipse.core.resources.IProjectNature
-
configure
public void configure() throws org.eclipse.core.runtime.CoreExceptionConfigure the project with Java nature.- Specified by:
configurein 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:
deconfigurein 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
-