pl.edu.agh.cast.importer.wizard.page
Class AbstractImportWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by pl.edu.agh.cast.importer.wizard.page.AbstractImportWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
Direct Known Subclasses:
AbstractConversionRulesSelectionPage, AnalyzersSelectionPage, ConversionPreviewPage, DelimiterSelectionPage, FileParamsSelectionPage, FixedWidthColumnSelectionPage, InitImportPage, TemplatePropertiesPage, ValidationPage

public abstract class AbstractImportWizardPage
extends org.eclipse.jface.wizard.WizardPage

Base class for all import wizard pages.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected AbstractImportWizardPage(String pageName, String description)
           
 
Method Summary
 boolean canFlipToNextPage()
          
 void dispose()
          
 ImportProcess getImportProcess()
           
 ImporterWizard getImportWizard()
           
 org.eclipse.jface.wizard.IWizardPage getNextPage()
           
 void initPage()
          initPage() is invoked before showing page.
protected abstract  boolean isComplete()
           
 void refreshImportData()
          refrestImportData() is invoked before page leaving.
 void widgetModified()
          Method is called whenever any widget had been selected or modified, and checks if the page had arrived to its completed state.
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

AbstractImportWizardPage

protected AbstractImportWizardPage(String pageName,
                                   String description)
Method Detail

getImportWizard

public ImporterWizard getImportWizard()

getImportProcess

public ImportProcess getImportProcess()

getNextPage

public org.eclipse.jface.wizard.IWizardPage getNextPage()
Specified by:
getNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
getNextPage in class org.eclipse.jface.wizard.WizardPage

widgetModified

public void widgetModified()
Method is called whenever any widget had been selected or modified, and checks if the page had arrived to its completed state.


initPage

public void initPage()
initPage() is invoked before showing page. Should be used to initialise page data (e.g. previews, combo fields).


refreshImportData

public void refreshImportData()
refrestImportData() is invoked before page leaving. Here actual information about import process from this page should be set in import process.


canFlipToNextPage

public boolean canFlipToNextPage()

Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
canFlipToNextPage in class org.eclipse.jface.wizard.WizardPage
See Also:
WizardPage.canFlipToNextPage()

dispose

public void dispose()

Specified by:
dispose in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
dispose in class org.eclipse.jface.dialogs.DialogPage
See Also:
DialogPage.dispose()

isComplete

protected abstract boolean isComplete()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.