private boolean removeFidFromExcludeFilter( IBlackboard properties, String fid, FilterFactory filterFactory ) {
Filter filter = (Filter) properties.get(ProjectBlackboardConstants.MAP__RENDERING_FILTER);
Filter f=(Filter) Filter.EXCLUDE;
boolean modified=false;
if( filter instanceof Id ){
Id fidFilter=(Id) filter;
Set<Identifier> ids = new HashSet<Identifier>(fidFilter.getIdentifiers());
for (Iterator<Identifier> iter = ids.iterator(); iter.hasNext();) {
Identifier element = (Identifier) iter.next();
Object id = element.getID();
if ( id.equals(fid) ){
iter.remove();
break;
}
}
f=filterFactory.id(ids);
if( fidFilter.getIDs().toArray(new String[0]).length==0 )
f=(Filter) Filter.EXCLUDE;
modified=true;
}else{
if( filter!=null ){