Search in sources :

Example 1 with QueryFilterField

use of com.revolsys.swing.map.layer.record.style.panel.QueryFilterField in project com.revolsys.open by revolsys.

the class AbstractRecordLayer method newPropertiesTabGeneralPanelFilter.

protected ValueField newPropertiesTabGeneralPanelFilter(final BasePanel parent) {
    final ValueField filterPanel = new ValueField(this);
    Borders.titled(filterPanel, "Filter");
    final QueryFilterField field = new QueryFilterField(this, "where", getWhere());
    filterPanel.add(field);
    Property.addListener(field, "where", getBeanPropertyListener());
    GroupLayouts.makeColumns(filterPanel, 1, true);
    parent.add(filterPanel);
    return filterPanel;
}
Also used : QueryFilterField(com.revolsys.swing.map.layer.record.style.panel.QueryFilterField) ValueField(com.revolsys.swing.component.ValueField)

Aggregations

ValueField (com.revolsys.swing.component.ValueField)1 QueryFilterField (com.revolsys.swing.map.layer.record.style.panel.QueryFilterField)1