Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.gml.ui.wfs.wizard
Class FilterPage

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<WfsGetFeatureConfiguration>
              extended by eu.esdihumboldt.hale.io.gml.ui.wfs.wizard.FilterPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class FilterPage
extends AbstractWfsPage<WfsGetFeatureConfiguration>

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
FilterPage(WfsGetFeatureConfiguration configuration, AbstractTypesPage<?> typesPage)
          Constructor
 
Method Summary
protected  void createContent(org.eclipse.swt.widgets.Composite parent)
          Create the page content
protected  String createDefaultFilter(org.opengis.feature.type.FeatureType type)
          Create a default filter
protected  String getFilter(org.opengis.feature.type.FeatureType type)
          Get the filter for the given feature type
protected  String getKey(org.opengis.feature.type.FeatureType type)
          Get the key for the given feature type
protected  void onHidePage()
          Called when this page is hidden
protected  void onShowPage()
          Called when this page is shown
protected  void saveCurrent()
          Save the filter that is currently edited
protected  void setFilter(org.opengis.feature.type.FeatureType type, String filter)
          Set the filter for the given feature type
 boolean updateConfiguration(WfsGetFeatureConfiguration configuration)
          Update the WMS configuration
protected  void updateEditor(org.opengis.feature.type.FeatureType selected)
          Update the editor
 
Methods inherited from class eu.esdihumboldt.hale.io.gml.ui.wfs.wizard.AbstractWfsPage
createControl, getConfiguration
 
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

FilterPage

public FilterPage(WfsGetFeatureConfiguration configuration,
                  AbstractTypesPage<?> typesPage)
Constructor

Parameters:
configuration - the WFS configuration
typesPage - the types page
Method Detail

onShowPage

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

Overrides:
onShowPage in class AbstractWfsPage<WfsGetFeatureConfiguration>
See Also:
AbstractWfsPage.onShowPage()

createContent

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

Specified by:
createContent in class AbstractWfsPage<WfsGetFeatureConfiguration>
Parameters:
parent - the parent composite
See Also:
AbstractWfsPage.createContent(Composite)

updateEditor

protected void updateEditor(org.opengis.feature.type.FeatureType selected)
Update the editor

Parameters:
selected - the selected feature type

onHidePage

protected void onHidePage()
Description copied from class: AbstractWfsPage
Called when this page is hidden

Overrides:
onHidePage in class AbstractWfsPage<WfsGetFeatureConfiguration>
See Also:
AbstractWfsPage.onHidePage()

saveCurrent

protected void saveCurrent()
Save the filter that is currently edited


getFilter

protected String getFilter(org.opengis.feature.type.FeatureType type)
Get the filter for the given feature type

Parameters:
type - the feature type
Returns:
the filter

createDefaultFilter

protected String createDefaultFilter(org.opengis.feature.type.FeatureType type)
Create a default filter

Parameters:
type - the feature type to create the filter for
Returns:
the filter

setFilter

protected void setFilter(org.opengis.feature.type.FeatureType type,
                         String filter)
Set the filter for the given feature type

Parameters:
type - the feature type
filter - the filter to set

getKey

protected String getKey(org.opengis.feature.type.FeatureType type)
Get the key for the given feature type

Parameters:
type - the feature type
Returns:
the key

updateConfiguration

public boolean updateConfiguration(WfsGetFeatureConfiguration configuration)
Description copied from class: AbstractWfsPage
Update the WMS configuration

Specified by:
updateConfiguration in class AbstractWfsPage<WfsGetFeatureConfiguration>
Parameters:
configuration - the WMS configuration
Returns:
if the page is valid
See Also:
AbstractWfsPage.updateConfiguration(WfsConfiguration)

Humboldt Alignment Editor 2.5.0

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