net.refractions.udig.catalog.ui.workflow
Class WorkflowWizardPage
java.lang.Object
WizardPage
net.refractions.udig.catalog.ui.workflow.WorkflowWizardPage
- Direct Known Subclasses:
- ConnectionErrorPage, ConnectionFailurePage, DataSourceSelectionPage, ExportResourceSelectionPage, FileConnectionPage, NewServiceConnectionPage
public abstract class WorkflowWizardPage
- extends WizardPage
Constructor Summary |
protected |
WorkflowWizardPage(java.lang.String pageName)
|
protected |
WorkflowWizardPage(java.lang.String pageName,
java.lang.String title,
ImageDescriptor titleImage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowWizardPage
protected WorkflowWizardPage(java.lang.String pageName,
java.lang.String title,
ImageDescriptor titleImage)
WorkflowWizardPage
protected WorkflowWizardPage(java.lang.String pageName)
getState
public Workflow.State getState()
setState
public void setState(Workflow.State state)
getWizard
public WorkflowWizard getWizard()
shown
public void shown()
- Called immediately after a page has been shown in the wizard. At the
time this method is called, the page can be sure that its ui has been
created (via a call to #createContents()) and that it's state has been
set (via #setState()). Default implementation does nothing, subclass
should override.
canFlipToNextPage
public boolean canFlipToNextPage()
- This method returns true if there are more states in the workflow, and
the current page is complete. Subclasses should extend this method in the
following way.
public boolean canFlipToNextPage() {
boolean flip = super.canFlipToNextPage();
if (flip) {
//validate user input (usually checking state of ui)
if (...) {
return true;
}
}
return false;
}