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

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
              extended by pl.edu.agh.cast.importer.wizard.page.ValidationPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class ValidationPage
extends AbstractImportWizardPage

Page of the import wizard, which serves for import data validation after the parsing process.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ValidationPage()
          The default constructor.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          
 void deleteErrors(List<AbstractErrorLogData> errorsToDelete)
          Delegate method.
 ErrorsLog getErrorsLog()
          Retrieves the errors log.
 org.eclipse.jface.wizard.IWizardPage getNextPage()
          
 void initPage()
          initPage() is invoked before showing page.
protected  boolean isComplete()
          
 
Methods inherited from class pl.edu.agh.cast.importer.wizard.page.AbstractImportWizardPage
canFlipToNextPage, dispose, getImportProcess, getImportWizard, refreshImportData, widgetModified
 
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
 

Constructor Detail

ValidationPage

public ValidationPage()
The default constructor.

Method Detail

createControl

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

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

isComplete

protected boolean isComplete()

Specified by:
isComplete in class AbstractImportWizardPage
See Also:
pl.edu.agh.cast.importer.wizard.page.AbstractValidationPage#isComplete()

initPage

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

Overrides:
initPage in class AbstractImportWizardPage
See Also:
AbstractImportWizardPage.initPage()

getNextPage

public org.eclipse.jface.wizard.IWizardPage getNextPage()

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

getErrorsLog

public ErrorsLog getErrorsLog()
Retrieves the errors log.

Returns:
errors log

deleteErrors

public void deleteErrors(List<AbstractErrorLogData> errorsToDelete)
Delegate method.

See Also:
ValidationPageComposite.deleteRowsWithErrors(List)


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