pl.edu.agh.cast.data.ui.importer.wizard
Class PreprocessingPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by pl.edu.agh.cast.data.ui.importer.wizard.PreprocessingPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class PreprocessingPage
extends org.eclipse.jface.wizard.WizardPage

Page of the template import wizard, which serves for data preprocessing.

Author:
AGH CAST Team

Field Summary
protected  TabularData inputData
          The input data to be preprocessed.
protected  List<IPreprocessingItem> preprocessedItems
          Items which can occur during import preprocessing.
protected  Template template
          Import template.
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
PreprocessingPage(String pageName)
          The default constructor.
 
Method Summary
 boolean canFlipToNextPage()
          
 void createControl(org.eclipse.swt.widgets.Composite parent)
          
 void dispose()
           
 List<? extends IPreprocessingItem> getCheckedItems()
           
 TabularData getInputData()
           
 org.eclipse.jface.wizard.IWizardPage getNextPage()
          
 List<? extends IPreprocessingItem> getPreprocessingResult()
           
 String getPreprocessorDescription()
           
 Template getTemplate()
           
 boolean isCurrentWizardPage()
          Method is a delegate of a protected method WizardPage.isCurrentPage.
 void setInputData(TabularData inData)
          Setter for input data.
 void setPreprocessingResult(List<? extends IPreprocessingItem> res)
          Sets the preprocessing result and its dependent attributes.
 void setTemplate(Template template)
           
 
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
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Field Detail

template

protected Template template
Import template.


inputData

protected TabularData inputData
The input data to be preprocessed.


preprocessedItems

protected List<IPreprocessingItem> preprocessedItems
Items which can occur during import preprocessing.

Constructor Detail

PreprocessingPage

public PreprocessingPage(String pageName)
The default constructor.

Parameters:
pageName - name of preprocessing page
Method Detail

isCurrentWizardPage

public boolean isCurrentWizardPage()
Method is a delegate of a protected method WizardPage.isCurrentPage. Returns whether this page is the current one in the wizard's container.

Returns:
true if the page is active, and false otherwise

setPreprocessingResult

public void setPreprocessingResult(List<? extends IPreprocessingItem> res)
Sets the preprocessing result and its dependent attributes.

Parameters:
res - the preprocessing result

getPreprocessorDescription

public String getPreprocessorDescription()

getCheckedItems

public List<? extends IPreprocessingItem> getCheckedItems()

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)

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()

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
See Also:
WizardPage.getNextPage()

dispose

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

getTemplate

public Template getTemplate()

getInputData

public TabularData getInputData()

getPreprocessingResult

public List<? extends IPreprocessingItem> getPreprocessingResult()

setTemplate

public void setTemplate(Template template)

setInputData

public void setInputData(TabularData inData)
Setter for input data.

Parameters:
inData - the input data


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