g-Eclipse
Release 1.0.0

eu.geclipse.core.project
Class GridProjectCreationOperation

java.lang.Object
  extended by eu.geclipse.core.project.GridProjectCreationOperation

public class GridProjectCreationOperation
extends java.lang.Object

An operation that is used to create a grid project in the workspace.


Constructor Summary
GridProjectCreationOperation(GridProjectProperties properties)
          Create a new GridProjectCreationOperation that will create a project from the specified properties.
 
Method Summary
 IProject getProject()
          Get the resulting IProject.
 void run(IProgressMonitor monitor)
          Create the grid project according to the GridProjectProperties of this operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridProjectCreationOperation

public GridProjectCreationOperation(GridProjectProperties properties)
Create a new GridProjectCreationOperation that will create a project from the specified properties.

Parameters:
properties - The properties of the newly created grid project.
Method Detail

run

public void run(IProgressMonitor monitor)
         throws ProblemException
Create the grid project according to the GridProjectProperties of this operation.

Parameters:
monitor - A progress monitor used to monitor the progress of this operation.
Throws:
ProblemException - If the creation of the project fails.

getProject

public IProject getProject()
Get the resulting IProject. In case the operation's run(IProgressMonitor)-metod was not yet called or failed this will return null.

Returns:
The IProject corresponding to the created grid project.

g-Eclipse
Release 1.0.0