public class FilterPage extends AbstractWfsPage<WfsGetFeatureConfiguration>
Constructor and Description |
---|
FilterPage(WfsGetFeatureConfiguration configuration,
AbstractTypesPage<?> typesPage)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
createControl, getConfiguration
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
public FilterPage(WfsGetFeatureConfiguration configuration, AbstractTypesPage<?> typesPage)
configuration
- the WFS configurationtypesPage
- the types pageprotected void onShowPage()
AbstractWfsPage
onShowPage
in class AbstractWfsPage<WfsGetFeatureConfiguration>
AbstractWfsPage.onShowPage()
protected void createContent(org.eclipse.swt.widgets.Composite parent)
AbstractWfsPage
createContent
in class AbstractWfsPage<WfsGetFeatureConfiguration>
parent
- the parent compositeAbstractWfsPage.createContent(Composite)
protected void updateEditor(org.opengis.feature.type.FeatureType selected)
selected
- the selected feature typeprotected void onHidePage()
AbstractWfsPage
onHidePage
in class AbstractWfsPage<WfsGetFeatureConfiguration>
AbstractWfsPage.onHidePage()
protected void saveCurrent()
protected String getFilter(org.opengis.feature.type.FeatureType type)
type
- the feature typeprotected String createDefaultFilter(org.opengis.feature.type.FeatureType type)
type
- the feature type to create the filter forprotected void setFilter(org.opengis.feature.type.FeatureType type, String filter)
type
- the feature typefilter
- the filter to setprotected String getKey(org.opengis.feature.type.FeatureType type)
type
- the feature typepublic boolean updateConfiguration(WfsGetFeatureConfiguration configuration)
AbstractWfsPage
updateConfiguration
in class AbstractWfsPage<WfsGetFeatureConfiguration>
configuration
- the WMS configurationAbstractWfsPage.updateConfiguration(WfsConfiguration)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a