net.refractions.udig.catalog.ui.export
Class CatalogExportDelegateWizard

java.lang.Object
  extended by Wizard
      extended by net.refractions.udig.catalog.ui.workflow.WorkflowWizard
          extended by net.refractions.udig.catalog.ui.export.CatalogExportDelegateWizard

public class CatalogExportDelegateWizard
extends WorkflowWizard


Nested Class Summary
protected static class CatalogExportDelegateWizard.MyCatalogExport
           
 
Constructor Summary
CatalogExportDelegateWizard()
           
CatalogExportDelegateWizard(Workflow workflow)
           
CatalogExportDelegateWizard(Workflow workflow, java.util.Map<java.lang.Class<? extends Workflow.State>,WorkflowWizardPage> map)
           
 
Method Summary
 boolean canFinish()
           
 IDialogSettings getDialogSettings()
           
 IWizardPage getNextPage(IWizardPage page)
          Returns the next primary page in the page sequence.
 void init(IWorkbench workbench, IStructuredSelection selection)
           
 boolean needsProgressMonitor()
           
 boolean performFinish(IProgressMonitor monitor)
          This method is ran in a non-UI thread.
 
Methods inherited from class net.refractions.udig.catalog.ui.workflow.WorkflowWizard
addPages, getPage, getPage, getStateMap, getWorkflow, needsPreviousAndNextButtons, performFinish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogExportDelegateWizard

public CatalogExportDelegateWizard()

CatalogExportDelegateWizard

public CatalogExportDelegateWizard(Workflow workflow)

CatalogExportDelegateWizard

public CatalogExportDelegateWizard(Workflow workflow,
                                   java.util.Map<java.lang.Class<? extends Workflow.State>,WorkflowWizardPage> map)
Method Detail

init

public void init(IWorkbench workbench,
                 IStructuredSelection selection)

canFinish

public boolean canFinish()
Overrides:
canFinish in class WorkflowWizard

getNextPage

public IWizardPage getNextPage(IWizardPage page)
Description copied from class: WorkflowWizard
Returns the next primary page in the page sequence. This method is called by the

Overrides:
getNextPage in class WorkflowWizard
See Also:
when a page does not contribute a secondary page., org.eclipse.jface.wizard.IWizard#getNextPage(org.eclipse.jface.wizard.IWizardPage)

getDialogSettings

public IDialogSettings getDialogSettings()

performFinish

public boolean performFinish(IProgressMonitor monitor)
Description copied from class: WorkflowWizard
This method is ran in a non-UI thread. It uses PlatformGIS#runBlockingOperation(IRunnableWithProgress, IProgressMonitor) to ensure that blocking operations in this method will not block the UI. It is recommended that all long operation are done in this thread and only quick UI updates should be done in the UI thread.

Overrides:
performFinish in class WorkflowWizard
Parameters:
monitor - the dialog progress monitor.
Returns:
if the wizard finished correctly.
See Also:
Display#syncExec(Runnable), Display#asyncExec(Runnable)

needsProgressMonitor

public boolean needsProgressMonitor()