Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project.midp
Class J2MENature

java.lang.Object
  extended by org.eclipse.mtj.core.project.MTJNature
      extended by org.eclipse.mtj.core.project.midp.J2MENature

public class J2MENature
extends MTJNature

The nature for Java ME projects.

Since:
1.0
See Also:
org.eclipse.core.resources.IProjectNature, MTJNature
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
J2MENature()
           
 
Method Summary
 void configure()
           
static boolean hasMtjCoreNature(IProject project)
          Return a boolean indicating whether the specified project has the MTJ nature associated with it.
 
Methods inherited from class org.eclipse.mtj.core.project.MTJNature
addNatureToProject, deconfigure, getProject, removeNatureFromProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2MENature

public J2MENature()
Method Detail

hasMtjCoreNature

public static boolean hasMtjCoreNature(IProject project)
                                throws CoreException
Return a boolean indicating whether the specified project has the MTJ nature associated with it.

Parameters:
project - the project to be tested for the MTJ nature
Returns:
a boolean indicating whether the specified project has the MTJ nature
Throws:
CoreException - if this method fails.

configure

public void configure()
               throws CoreException
Overrides:
configure in class MTJNature
Throws:
CoreException

Mobile Tools for Java
Release 1.0