Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.gml.ui.wfs.wizard
Class AbstractWfsPage<T extends WfsConfiguration>

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by eu.esdihumboldt.hale.io.gml.ui.wfs.wizard.AbstractWfsPage<T>
Type Parameters:
T - the WFS configuration type
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
Direct Known Subclasses:
AbstractTypesPage, CapabilitiesPage, FilterPage

public abstract class AbstractWfsPage<T extends WfsConfiguration>
extends org.eclipse.jface.wizard.WizardPage

Abstract WFS wizard page

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
AbstractWfsPage(T configuration, String pageName)
          Constructor
AbstractWfsPage(T configuration, String pageName, String title, org.eclipse.jface.resource.ImageDescriptor titleImage)
          Constructor
 
Method Summary
protected abstract  void createContent(org.eclipse.swt.widgets.Composite parent)
          Create the page content
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 T getConfiguration()
          Get the WMS configuration
protected  void onHidePage()
          Called when this page is hidden
protected  void onShowPage()
          Called when this page is shown
abstract  boolean updateConfiguration(T configuration)
          Update the WMS configuration
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, 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, dispose, 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
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

AbstractWfsPage

public AbstractWfsPage(T configuration,
                       String pageName,
                       String title,
                       org.eclipse.jface.resource.ImageDescriptor titleImage)
Constructor

Parameters:
configuration - the WFS configuration
pageName - the page name
title - the title
titleImage - the title image

AbstractWfsPage

public AbstractWfsPage(T configuration,
                       String pageName)
Constructor

Parameters:
configuration - the configuration server
pageName - the page name
Method Detail

getConfiguration

public T getConfiguration()
Get the WMS configuration

Returns:
the WMS configuration

updateConfiguration

public abstract boolean updateConfiguration(T configuration)
Update the WMS configuration

Parameters:
configuration - the WMS configuration
Returns:
if the page is valid

createControl

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

onShowPage

protected void onShowPage()
Called when this page is shown


onHidePage

protected void onHidePage()
Called when this page is hidden


createContent

protected abstract void createContent(org.eclipse.swt.widgets.Composite parent)
Create the page content

Parameters:
parent - the parent composite

Humboldt Alignment Editor 2.5.0

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