Class ToggleNatureActionTests.FakeNature

  • All Implemented Interfaces:
    org.eclipse.core.resources.IProjectNature
    Enclosing class:
    ToggleNatureActionTests

    public static class ToggleNatureActionTests.FakeNature
    extends java.lang.Object
    implements org.eclipse.core.resources.IProjectNature
    • Constructor Summary

      Constructors 
      Constructor Description
      FakeNature()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure()  
      void deconfigure()  
      org.eclipse.core.resources.IProject getProject()  
      void setProject​(org.eclipse.core.resources.IProject project)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FakeNature

        public FakeNature()
    • Method Detail

      • configure

        public void configure()
                       throws org.eclipse.core.runtime.CoreException
        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
        Specified by:
        deconfigure in interface org.eclipse.core.resources.IProjectNature
        Throws:
        org.eclipse.core.runtime.CoreException
      • 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