net.refractions.udig.catalog.ui.workflow
Class ConnectionFailurePage

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

public class ConnectionFailurePage
extends WorkflowWizardPage

Wizard Page associated with ConnectionFailurePage

Since:
1.1.0
Author:
Jesse

Constructor Summary
ConnectionFailurePage()
           
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
 boolean canFlipToNextPage()
          This method returns true if there are more states in the workflow, and the current page is complete.
 void createControl(Composite parent)
           
 java.lang.Object[] getChildren(java.lang.Object parentElement)
           
 java.lang.Object[] getElements(java.lang.Object elements)
           
 Image getImage(java.lang.Object element)
           
 java.lang.Object getParent(java.lang.Object parentElement)
           
 ConnectionFailureState getState()
           
 java.lang.String getText(java.lang.Object element)
           
 boolean hasChildren(java.lang.Object parentElement)
           
 void inputChanged(Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)
           
 boolean isLabelProperty(java.lang.Object element, java.lang.String property)
           
 void removeListener(ILabelProviderListener listener)
           
 void shown()
          Called immediately after a page has been shown in the wizard.
 
Methods inherited from class net.refractions.udig.catalog.ui.workflow.WorkflowWizardPage
getWizard, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFailurePage

public ConnectionFailurePage()
Method Detail

createControl

public void createControl(Composite parent)

shown

public void shown()
Description copied from class: WorkflowWizardPage
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.

Overrides:
shown in class WorkflowWizardPage

getState

public ConnectionFailureState getState()
Overrides:
getState in class WorkflowWizardPage

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

addListener

public void addListener(ILabelProviderListener listener)

isLabelProperty

public boolean isLabelProperty(java.lang.Object element,
                               java.lang.String property)

removeListener

public void removeListener(ILabelProviderListener listener)

getImage

public Image getImage(java.lang.Object element)

getText

public java.lang.String getText(java.lang.Object element)

getChildren

public java.lang.Object[] getChildren(java.lang.Object parentElement)

getParent

public java.lang.Object getParent(java.lang.Object parentElement)

hasChildren

public boolean hasChildren(java.lang.Object parentElement)

getElements

public java.lang.Object[] getElements(java.lang.Object elements)

inputChanged

public void inputChanged(Viewer viewer,
                         java.lang.Object oldInput,
                         java.lang.Object newInput)