public void removeFilter ( String filterName ) { Filter filter = getFilterByName ( filterName ) ; if ( filter != null ) { if ( filter . isTaskFilter ( ) ) { m_taskFilters . remove ( filter ) ; } if ( filter . isResourceFilter ( ) ) { m_resourceFilters . remove ( filter ) ; } m_filtersByName . remove ( filterName ) ; m_filtersByID . remove ( filter . getID ( ) ) ; } }
Removes a filter from this project file .