edu.cmu.sei.osate.core
Class AadlNature

java.lang.Object
  extended by edu.cmu.sei.osate.core.AadlNature
All Implemented Interfaces:
org.eclipse.core.resources.IProjectNature

public class AadlNature
extends java.lang.Object
implements org.eclipse.core.resources.IProjectNature


Field Summary
static java.lang.String copyright
           
static boolean DEBUG
           
static java.lang.String DEBUG_OPTION
           
static java.lang.String ID
           
 
Constructor Summary
AadlNature()
           
 
Method Summary
static void addNature(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void configure()
           
 void deconfigure()
           
 org.eclipse.core.resources.IProject getProject()
           
static boolean hasNature(org.eclipse.core.resources.IProject project)
          Returns true if given project has an AADL project nature.
static void removeNature(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 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

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values

DEBUG_OPTION

public static final java.lang.String DEBUG_OPTION
See Also:
Constant Field Values

DEBUG

public static boolean DEBUG
Constructor Detail

AadlNature

public AadlNature()
Method Detail

getProject

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

setProject

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

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
See Also:
IProjectNature.configure()

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
See Also:
IProjectNature.deconfigure()

addNature

public static void addNature(org.eclipse.core.resources.IProject project,
                             org.eclipse.core.runtime.IProgressMonitor monitor)

removeNature

public static void removeNature(org.eclipse.core.resources.IProject project,
                                org.eclipse.core.runtime.IProgressMonitor monitor)

hasNature

public static boolean hasNature(org.eclipse.core.resources.IProject project)
Returns true if given project has an AADL project nature.

See Also:
IProject.hasNature(String)