public class CQLFilterField extends TypeFilterField
TypeFilterField.FilterType
PROPERTY_FILTER, PROPERTY_VALID
Constructor and Description |
---|
CQLFilterField(TypeDefinition type,
org.eclipse.swt.widgets.Composite parent,
int style,
SchemaSpaceID ssid)
Creates a CQL filter field for the given type and schema space.
|
CQLFilterField(TypeEntityDefinition type,
org.eclipse.swt.widgets.Composite parent,
int style)
Creates a CQL filter field for the given type's type and schema space,
with a initial value for the filter field according to the type's filter.
|
Modifier and Type | Method and Description |
---|---|
protected Filter |
createFilter(String filterString)
Creates a
Filter from the given filter string.If the string is no valid input, any exception may be thrown. |
protected String |
selectVariable()
Returns a string to insert to the filter that the user selected.
|
void |
setType(TypeDefinition type)
Set the type definition
|
addListener, dispose, getFilter, getFilterExpression, isValid, notifyListeners, removeListener, setFilterExpression, setVariableSelectEnabled, updateFilter
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
public CQLFilterField(TypeDefinition type, org.eclipse.swt.widgets.Composite parent, int style, SchemaSpaceID ssid)
type
- the type definitionparent
- the parent compositestyle
- the composite stylessid
- the schema space, may be null
public CQLFilterField(TypeEntityDefinition type, org.eclipse.swt.widgets.Composite parent, int style)
type
- the type entity definitionparent
- the parent compositestyle
- the composite styleprotected Filter createFilter(String filterString) throws org.geotools.filter.text.cql2.CQLException
TypeFilterField
Filter
from the given filter string.createFilter
in class TypeFilterField
filterString
- the filter stringorg.geotools.filter.text.cql2.CQLException
TypeFilterField.createFilter(java.lang.String)
protected String selectVariable()
TypeFilterField
selectVariable
in class TypeFilterField
null
TypeFilterField.selectVariable()
public void setType(TypeDefinition type)
type
- the type definitionBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a