org.jupe.plugin
Class JupeNature
java.lang.Object
org.jupe.plugin.JupeNature
- All Implemented Interfaces:
- org.eclipse.core.resources.IProjectNature
public class JupeNature
- extends java.lang.Object
- implements org.eclipse.core.resources.IProjectNature
The Jupe nature specifies projects using the Jupe plugin.
- Author:
- Emanuel Thomas
Field Summary |
static java.lang.String |
NATURE_ID
|
Method Summary |
static void |
addJupeNature(org.eclipse.core.resources.IProject project)
Specify a project as Jupe project. |
void |
configure()
|
void |
deconfigure()
|
org.eclipse.core.resources.IProject |
getProject()
|
static void |
removeJupeNature(org.eclipse.core.resources.IProject project)
Remove the Jupe Nature from a project. |
void |
setProject(org.eclipse.core.resources.IProject project)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NATURE_ID
public static java.lang.String NATURE_ID
JupeNature
public JupeNature()
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
removeJupeNature
public static void removeJupeNature(org.eclipse.core.resources.IProject project)
throws org.eclipse.core.runtime.CoreException
- Remove the Jupe Nature from a project.
- Parameters:
project
- Project to remove Jupe nature from.
- Throws:
org.eclipse.core.runtime.CoreException
addJupeNature
public static void addJupeNature(org.eclipse.core.resources.IProject project)
throws org.eclipse.core.runtime.CoreException
- Specify a project as Jupe project.
- Parameters:
project
- Project to add nature.
- Throws:
org.eclipse.core.runtime.CoreException