public class WfsUrlFieldEditor
extends org.eclipse.jface.preference.StringButtonFieldEditor
URL
for a WFS to retrieve
schema information from. It delegates all details to the
WfsDescribeFeatureWizard
and WfsGetFeatureWizard
.Constructor and Description |
---|
WfsUrlFieldEditor(String name,
String labelText,
org.eclipse.swt.widgets.Composite parent)
Constructor
|
WfsUrlFieldEditor(String name,
String labelText,
org.eclipse.swt.widgets.Composite parent,
String schemaNamespace,
boolean getFeatures)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
changePressed() |
protected boolean |
checkState() |
protected boolean |
doCheckState() |
URL |
getURL()
Get the URL value.
|
adjustForNumColumns, doFillIntoGrid, getChangeControl, getNumberOfControls, getShell, setChangeButtonText, setEnabled
doLoad, doLoadDefault, doStore, getErrorMessage, getStringValue, getTextControl, getTextControl, isEmptyStringAllowed, isValid, refreshValidState, setEmptyStringAllowed, setErrorMessage, setFocus, setStringValue, setTextLimit, setValidateStrategy, showErrorMessage, valueChanged
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, load, loadDefault, presentsDefaultValue, setButtonLayoutData, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store
public WfsUrlFieldEditor(String name, String labelText, org.eclipse.swt.widgets.Composite parent)
name
- the preference namelabelText
- the label textparent
- the parent compositepublic WfsUrlFieldEditor(String name, String labelText, org.eclipse.swt.widgets.Composite parent, String schemaNamespace, boolean getFeatures)
name
- the preference namelabelText
- the label textparent
- the parent compositeschemaNamespace
- the schema namespace, may be null
getFeatures
- if the editor is for a GetFeature request instead of a
DescribeFeature requestprotected boolean checkState()
checkState
in class org.eclipse.jface.preference.StringFieldEditor
StringFieldEditor.checkState()
protected String changePressed()
changePressed
in class org.eclipse.jface.preference.StringButtonFieldEditor
StringButtonFieldEditor.changePressed()
protected boolean doCheckState()
doCheckState
in class org.eclipse.jface.preference.StringFieldEditor
StringFieldEditor.doCheckState()
public URL getURL()
null
if the content is no valid URL.Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a