g-Eclipse
Release 1.0.0

eu.geclipse.servicejob.ui.wizard
Class ServiceJobWizard

java.lang.Object
  extended by Wizard
      extended by eu.geclipse.servicejob.ui.wizard.ServiceJobWizard
All Implemented Interfaces:
IProjectSelectionProvider

public class ServiceJobWizard
extends Wizard
implements IProjectSelectionProvider

Wizard for creating service job for grid resources. First page of it is wizard selection page and its content is created from service jobs providers. Wizard nodes for this page are defined through eu.geclipse.servicejob.servicejobProvider extension point.


Constructor Summary
ServiceJobWizard()
          Constructor for wizard.
ServiceJobWizard(IGridProject project, java.util.List<IGridResource> resource)
          Constructor for wizard.
 
Method Summary
 void addPages()
           
 IGridProject getGridProject()
           
 java.util.List<IGridResource> getInitResources()
           
 IWizardPage getNextPage(IWizardPage page)
           
 java.lang.String getWindowTitle()
           
 void init(IWorkbench workbench, IStructuredSelection selection)
           
 boolean performFinish()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceJobWizard

public ServiceJobWizard(IGridProject project,
                        java.util.List<IGridResource> resource)
Constructor for wizard.

Parameters:
project - if wizard was run through resource's context menu this object represents grid project to which selected resource belongs.
resource - grid resource for which new service job will be created

ServiceJobWizard

public ServiceJobWizard()
Constructor for wizard. Does the same as ServiceJobWizard((IGridProject) null, (IGridResource) null).

Method Detail

getWindowTitle

public java.lang.String getWindowTitle()

addPages

public void addPages()

getNextPage

public IWizardPage getNextPage(IWizardPage page)

performFinish

public boolean performFinish()

init

public void init(IWorkbench workbench,
                 IStructuredSelection selection)

getInitResources

public java.util.List<IGridResource> getInitResources()

getGridProject

public IGridProject getGridProject()
Specified by:
getGridProject in interface IProjectSelectionProvider

g-Eclipse
Release 1.0.0