IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework.test
Class JavaProjectHandler

java.lang.Object
  extended bycom.ibm.xtools.patterns.framework.test.JavaProjectHandler

public class JavaProjectHandler
extends Object

JavaProjectHandler is a handler to Eclipse Java project. The project may or may not exist when this class is instantiated. Use exists() method to know project existence status.


Constructor Summary
JavaProjectHandler(String projectName)
           
 
Method Summary
 org.eclipse.jdt.core.IJavaProject ensureProject()
          Ensures a Java project in the current workspace.
 org.eclipse.jdt.core.IJavaProject getJavaProject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaProjectHandler

public JavaProjectHandler(String projectName)
Method Detail

ensureProject

public org.eclipse.jdt.core.IJavaProject ensureProject()
Ensures a Java project in the current workspace.

Returns:
the ensured IJavaProject or null if failed to create a project

getJavaProject

public org.eclipse.jdt.core.IJavaProject getJavaProject()
Returns:
IJavaProject java project

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.