Bug 43999 Filter to hide anonymous inner classes in Outline View
A new feature was added in 3.0 to show all the inner classes. However in some cases (for example when you are implementing a large number of event listeners) this makes the Outline view very difficult to use because it becomes very cluttered. Also, the word "Anonymous" is quite long and comes at the front so that typically the useful information (the class name) is scrolled out of view. Could the class name be used instead (e.g. ControlListener$1)?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java
/**
 * Action Group that contributes filter buttons for a view parts showing 
 * methods and fields. Contributed filters are: hide fields, hide static
 * members and hide non-public members.
 * <p>
 * The action group installs a filter on a structured viewer. The filter is connected 
 * to the actions installed in the view part's toolbar menu and is updated when the 
 * state of the buttons changes.
 *  
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 * 
 * @since 2.0
 */
public class MemberFilterActionGroup extends ActionGroup {
	public static final int FILTER_NONPUBLIC= MemberFilter.FILTER_NONPUBLIC;
	public static final int FILTER_STATIC= MemberFilter.FILTER_STATIC;
	public static final int FILTER_FIELDS= MemberFilter.FILTER_FIELDS;
	
	private static final String TAG_HIDEFIELDS= "hidefields"; 
	private static final String TAG_HIDESTATIC= "hidestatic"; 
	private static final String TAG_HIDENONPUBLIC= "hidenonpublic"; 
	
	private MemberFilterAction[] fFilterActions;
	private MemberFilter fFilter;
	
	private StructuredViewer fViewer;
	private String fViewerId;
	private boolean fInViewMenu;