Bug 25199 Do not show import declarations children on members view [browsing]
R2.0.1 In the Java Browsing Perspective, the Members View has a plus sign where you can see the import declarations. When you have many import statments and the import declaration has focus it can be annoying if trying to navigate to a method because if you "close" the import declarations (pressing the minus sign) it reopens because import has the focus and you are obliged to scroll down the view until you find the method you want. Suggestion is to keep the import declarations (very useful) but do not show its children (useless in my opinion). This way the import declarations can be viewed like a method (that is usually what I want).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.preferences.MembersOrderPreferencePage;
import org.eclipse.jdt.internal.ui.viewsupport.AppearanceAwareLabelProvider;
import org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer;
public class MembersView extends JavaBrowsingPart implements IPropertyChangeListener {
	
	private MemberFilterActionGroup fMemberFilterActionGroup;
	
	public MembersView() {
		setHasWorkingSetFilter(false);
		setHasCustomSetFilter(false);
		JavaPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
	}
	/**
	 * Creates and returns the label provider for this part.
	 * 
	 * @return	the label provider
	 * @see	ILabelProvider
	 */
	protected ILabelProvider createLabelProvider() {
		return new AppearanceAwareLabelProvider(
						AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS,
						AppearanceAwareLabelProvider.DEFAULT_IMAGEFLAGS,
						AppearanceAwareLabelProvider.getDecorators(true, new OverrideIndicatorLabelDecorator(null))
						);
	}
	/**
	 * Returns the context ID for the Help system
	 * 
	 * @return	the string used as ID for the Help context