net.refractions.udig.catalog.ui
Class ConnectionErrorPage

java.lang.Object
  extended by WizardPage
      extended by net.refractions.udig.catalog.ui.workflow.WorkflowWizardPage
          extended by net.refractions.udig.catalog.ui.ConnectionErrorPage

public class ConnectionErrorPage
extends WorkflowWizardPage

A wizard page which displays a set of IConnectionErrorHandler objects.

This page is intended for use in a wizard extending

Author:
Justin Deoliveira
See Also:
to connect to a service.


Constructor Summary
ConnectionErrorPage()
           
 
Method Summary
 boolean canFlipToNextPage()
          This method returns true if there are more states in the workflow, and the current page is complete.
 void createControl(Composite parent)
           
 IWizardPage getNextPage()
           
 boolean isPageComplete()
           
 
Methods inherited from class net.refractions.udig.catalog.ui.workflow.WorkflowWizardPage
getState, getWizard, setState, shown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionErrorPage

public ConnectionErrorPage()
Method Detail

isPageComplete

public boolean isPageComplete()

canFlipToNextPage

public boolean canFlipToNextPage()
Description copied from class: WorkflowWizardPage
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;
 }
 
 

Overrides:
canFlipToNextPage in class WorkflowWizardPage

createControl

public void createControl(Composite parent)

getNextPage

public IWizardPage getNextPage()