package org.azavea.otm.filters;

import android.view.View;

public abstract class BaseFilter {
	/**
	 * The key for the filter which is used as a query string argument
	 */
	public String key;
	
	/**
	 * The name to display on the filter bar when active
	 */
	public String displayName;
	
	/**
	 * The name to display as a filter label
	 */
	public String label;
	
	/**
	 *  Checks if this filter currently has an active value
	 */
	public abstract boolean isActive();
	
	/**
	 *  Update the value of the filter, and its active status
	 *  from a view of the corresponding type
	 */
	public abstract void updateFromView(View view);
	
	/**
	 * Return a string for this filter to be used in a URL query string
	 * parameter
	 */
	public abstract String toQueryStringParam();
}

@@ -765,11 +765,96 @@
 Param();
+%0A%0A%09/**%0A%09 *  Reset the filter to the default state%0A%09 */%0A%09public abstract void clear();
 %0A%7D%0A

Add abstract clear() method to filters