Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.csv.ui
Class ReadConfigurationPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by eu.esdihumboldt.hale.ui.HaleWizardPage<W>
              extended by eu.esdihumboldt.hale.ui.io.IOWizardPage<P,W>
                  extended by eu.esdihumboldt.hale.ui.io.config.AbstractConfigurationPage<ImportProvider,ImportWizard<ImportProvider>>
                      extended by eu.esdihumboldt.hale.io.csv.ui.ReadConfigurationPage
All Implemented Interfaces:
EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.internal.SWTEventListener

public class ReadConfigurationPage
extends AbstractConfigurationPage<ImportProvider,ImportWizard<ImportProvider>>
implements org.eclipse.swt.events.ModifyListener

Advanced configuration for the SchemaReader

Author:
Kevin Mais

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ReadConfigurationPage()
          default constructor
 
Method Summary
protected  void createContent(org.eclipse.swt.widgets.Composite page)
          Create the page content
 void disable()
          Disable the configuration page
 void enable()
          Enable the configuration page
 void modifyText(org.eclipse.swt.events.ModifyEvent e)
          sets the PageComplete boolean to true, if the text is valid
protected  void onShowPage(boolean firstShow)
          Called when this page is shown
 boolean updateConfiguration(ImportProvider provider)
          Update the configuration (of the I/O provider)
 
Methods inherited from class eu.esdihumboldt.hale.ui.HaleWizardPage
createControl, dispose, getWizard
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, 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

ReadConfigurationPage

public ReadConfigurationPage()
default constructor

Method Detail

modifyText

public void modifyText(org.eclipse.swt.events.ModifyEvent e)
sets the PageComplete boolean to true, if the text is valid

Specified by:
modifyText in interface org.eclipse.swt.events.ModifyListener
See Also:
ModifyListener

enable

public void enable()
Description copied from class: AbstractConfigurationPage
Enable the configuration page

Specified by:
enable in class AbstractConfigurationPage<ImportProvider,ImportWizard<ImportProvider>>
See Also:
AbstractConfigurationPage.enable()

disable

public void disable()
Description copied from class: AbstractConfigurationPage
Disable the configuration page

Specified by:
disable in class AbstractConfigurationPage<ImportProvider,ImportWizard<ImportProvider>>
See Also:
AbstractConfigurationPage.disable()

updateConfiguration

public boolean updateConfiguration(ImportProvider provider)
Description copied from class: IOWizardPage
Update the configuration (of the I/O provider)

Specified by:
updateConfiguration in class IOWizardPage<ImportProvider,ImportWizard<ImportProvider>>
Parameters:
provider - the I/O provider to update
Returns:
if the page is valid and updating the provider was successful
See Also:
IOWizardPage.updateConfiguration(eu.esdihumboldt.hale.common.core.io.IOProvider)

createContent

protected void createContent(org.eclipse.swt.widgets.Composite page)
Description copied from class: HaleWizardPage
Create the page content

Specified by:
createContent in class HaleWizardPage<ImportWizard<ImportProvider>>
Parameters:
page - the page composite, implementors may assign a custom layout to this composite
See Also:
HaleWizardPage.createContent(org.eclipse.swt.widgets.Composite)

onShowPage

protected void onShowPage(boolean firstShow)
Description copied from class: HaleWizardPage
Called when this page is shown

Overrides:
onShowPage in class HaleWizardPage<ImportWizard<ImportProvider>>
Parameters:
firstShow - specifies if it is the first time the page is shown since its creation
See Also:
HaleWizardPage.onShowPage(boolean)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d