Class JavaNature

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaNature
All Implemented Interfaces:
org.eclipse.core.resources.IProjectNature

public class JavaNature extends Object implements org.eclipse.core.resources.IProjectNature
Implements nature of JavaCore.NATURE_ID
  • Constructor Details

    • JavaNature

      public JavaNature()
  • Method Details

    • getProject

      public org.eclipse.core.resources.IProject getProject()
      Specified by:
      getProject in interface org.eclipse.core.resources.IProjectNature
    • setProject

      public void setProject(org.eclipse.core.resources.IProject project)
      Specified by:
      setProject in interface org.eclipse.core.resources.IProjectNature
    • configure

      public void configure() throws org.eclipse.core.runtime.CoreException
      Configure the project with Java nature.
      Specified by:
      configure in interface org.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 interface org.eclipse.core.resources.IProjectNature
      Throws:
      org.eclipse.core.runtime.CoreException
    • addToBuildSpec

      protected void addToBuildSpec(String builderID) throws org.eclipse.core.runtime.CoreException
      Adds a builder to the build spec for the given project.
      Throws:
      org.eclipse.core.runtime.CoreException
    • removeFromBuildSpec

      protected void removeFromBuildSpec(String builderID) throws org.eclipse.core.runtime.CoreException
      Removes the given builder from the build spec for the given project.
      Throws:
      org.eclipse.core.runtime.CoreException