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

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

public class ExportResourceSelectionPage
extends WorkflowWizardPage

A page that allows the user to select the layer(s) to save.

Since:
1.1.0
Author:
chorner

Nested Class Summary
 class ExportResourceSelectionPage.ExportResourceLabelProvider
          Adapts the new ResolveTitlesDecorator(new ResolveLabelProviderSimple()) so that it will can appear in the table with the title returned by the decorator as the name column and the projection as the title column
 class ExportResourceSelectionPage.SelectButtonListener
           
 
Field Summary
static java.lang.String DIRECTORY_KEY
           
 
Constructor Summary
ExportResourceSelectionPage(java.lang.String pageName)
           
 
Method Summary
 void checkStateChanged(CheckStateChangedEvent event)
           
 void createControl(Composite parent)
           
 java.util.List<Data> getCheckedElements()
           
 java.io.File getExportDir()
           
 ExportResourceSelectionState getState()
           
 CheckboxTreeViewer getViewer()
           
 boolean isPageComplete()
           
 void pageChanged(PageChangedEvent event)
           
 void shown()
          Called immediately after a page has been shown in the wizard.
 void syncWithUI()
           
 
Methods inherited from class net.refractions.udig.catalog.ui.workflow.WorkflowWizardPage
canFlipToNextPage, getWizard, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTORY_KEY

public static final java.lang.String DIRECTORY_KEY
See Also:
Constant Field Values
Constructor Detail

ExportResourceSelectionPage

public ExportResourceSelectionPage(java.lang.String pageName)
Method Detail

getCheckedElements

public java.util.List<Data> getCheckedElements()

createControl

public void createControl(Composite parent)

getState

public ExportResourceSelectionState getState()
Overrides:
getState in class WorkflowWizardPage

getExportDir

public java.io.File getExportDir()

checkStateChanged

public void checkStateChanged(CheckStateChangedEvent event)

getViewer

public CheckboxTreeViewer getViewer()

syncWithUI

public void syncWithUI()

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

isPageComplete

public boolean isPageComplete()
See Also:
org.eclipse.jface.wizard.WizardPage#isPageComplete()

pageChanged

public void pageChanged(PageChangedEvent event)