Class EASyNature

  • All Implemented Interfaces:
    org.eclipse.core.resources.IProjectNature

    public class EASyNature
    extends java.lang.Object
    implements org.eclipse.core.resources.IProjectNature
    The nature for all EASy-Producer projects.
    Author:
    El-Sharkawy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NATURE_ID
      ID of this project nature.
      private org.eclipse.core.resources.IProject project  
      static java.lang.String XTEXT_NATURE_ID
      ID copied from Xtext.UI plug-in.
    • Constructor Summary

      Constructors 
      Constructor Description
      EASyNature()  
    • 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
    • Field Detail

      • NATURE_ID

        public static final java.lang.String NATURE_ID
        ID of this project nature.
        See Also:
        Constant Field Values
      • XTEXT_NATURE_ID

        public static final java.lang.String XTEXT_NATURE_ID
        ID copied from Xtext.UI plug-in.
        See Also:
        Constant Field Values
      • project

        private org.eclipse.core.resources.IProject project
    • Constructor Detail

      • EASyNature

        public EASyNature()
    • 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