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

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.AnalyzersSelectionPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class AnalyzersSelectionPage
extends AbstractImportWizardPage

Page of the import wizard, which serves for selection of analyzers for each column.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
AnalyzersSelectionPage()
          The default constructor.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          
 AbstractDataTypeConfigDialog getDataTypeConfigDialogInstance(String dataTypeId)
          Retrieves the data type configuration dialog instance for the specified data type identifier.
 DataTypeInfo[] getDataTypesInfos()
          Retrieves the available data types information.
 void initPage()
          initPage() is invoked before showing page.
protected  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 pl.edu.agh.cast.importer.wizard.page.AbstractImportWizardPage
canFlipToNextPage, dispose, getImportProcess, getImportWizard, getNextPage
 
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

AnalyzersSelectionPage

public AnalyzersSelectionPage()
The default constructor.

Method Detail

createControl

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

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

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

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.

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

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.

Overrides:
widgetModified in class AbstractImportWizardPage

isComplete

protected boolean isComplete()
Specified by:
isComplete in class AbstractImportWizardPage

getDataTypesInfos

public DataTypeInfo[] getDataTypesInfos()
Retrieves the available data types information.

Returns:
the data types information

getDataTypeConfigDialogInstance

public AbstractDataTypeConfigDialog getDataTypeConfigDialogInstance(String dataTypeId)
Retrieves the data type configuration dialog instance for the specified data type identifier.

Parameters:
dataTypeId - the data type identifier
Returns:
data type configuration dialog


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