Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.style.editors
Class FilterEditor

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.style.editors.FilterEditor
All Implemented Interfaces:
Editor<org.opengis.filter.Filter>

public class FilterEditor
extends Object
implements Editor<org.opengis.filter.Filter>

Editor for Filters

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

Nested Class Summary
static class FilterEditor.FilterIdentifier
          Supported filters enumeration
 
Constructor Summary
FilterEditor(org.eclipse.swt.widgets.Composite parent, TypeDefinition typeDefinition, org.opengis.filter.Filter filter)
          Creates a Filter editor
 
Method Summary
 org.eclipse.swt.widgets.Control getControl()
          Get the editor control
 org.opengis.filter.Filter getValue()
          Get the value
 boolean isChanged()
          States if the value has been changed
 void setValue(org.opengis.filter.Filter filter)
          Set the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterEditor

public FilterEditor(org.eclipse.swt.widgets.Composite parent,
                    TypeDefinition typeDefinition,
                    org.opengis.filter.Filter filter)
Creates a Filter editor

Parameters:
parent - the parent composite
typeDefinition - the type definition
filter - the initial filter
Method Detail

getControl

public org.eclipse.swt.widgets.Control getControl()
Description copied from interface: Editor
Get the editor control

Specified by:
getControl in interface Editor<org.opengis.filter.Filter>
Returns:
the editor control
See Also:
Editor.getControl()

getValue

public org.opengis.filter.Filter getValue()
Description copied from interface: Editor
Get the value

Specified by:
getValue in interface Editor<org.opengis.filter.Filter>
Returns:
the value
See Also:
Editor.getValue()

isChanged

public boolean isChanged()
Description copied from interface: Editor
States if the value has been changed

Specified by:
isChanged in interface Editor<org.opengis.filter.Filter>
Returns:
if the value has been changed
See Also:
Editor.isChanged()

setValue

public void setValue(org.opengis.filter.Filter filter)
Description copied from interface: Editor
Set the value

Specified by:
setValue in interface Editor<org.opengis.filter.Filter>
Parameters:
filter - the value to set
See Also:
Editor.setValue(Object)

Humboldt Alignment Editor 2.5.0

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