if( styleBlackboard.contains(ProjectBlackboardConstants.LAYER__STYLE_FILTER)){
if( query == null ){
query = new Query( schema.getTypeName() );
}
// Additional Filter provided as Style used to reduce onscreen clutter
FilterStyle filterStyle = (FilterStyle) styleBlackboard.get(ProjectBlackboardConstants.LAYER__STYLE_FILTER);
Filter styleFilter = filterStyle.toFilter(schema);
if( styleFilter != Filter.INCLUDE ){
Filter queryFilter = query.getFilter();
if( queryFilter == Filter.INCLUDE ){
query.setFilter( styleFilter );
}