Bug 5466 Hierarchy view should try to preserve method selection
1) Open a hierachy view on a type hiearchy that has a method which is overrided at several levels. 2) Select the method. 3) Select other types. 4) Note that the method selection is lost. We should try to preserve the selection (show the same method for the selected type whenever possible). This is a little trickier when the method list is showing all inherited methods but its still possible.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/MethodsViewer.java
return getCollator().compare(name1, name2);
		}
	}
	
	
	private static final String TAG_HIDEFIELDS= "hidefields"; 
	private static final String TAG_HIDESTATIC= "hidestatic"; 
	private static final String TAG_HIDENONPUBLIC= "hidenonpublic"; 
	private static final String TAG_SHOWINHERITED= "showinherited";		 
	private static final String TAG_VERTICAL_SCROLL= "mv_vertical_scroll";		 
	
	private MethodsViewerFilterAction[] fFilterActions;
	private MethodsViewerFilter fFilter;
		
	private OpenJavaElementAction fOpen;
	private ShowInheritedMembersAction fShowInheritedMembersAction;
	private ContextMenuGroup[] fStandardGroups;	
	
	public MethodsViewer(Composite parent, IWorkbenchPart part) {
		super(new Table(parent, SWT.MULTI));
		
		fProblemItemMapper= new ProblemItemMapper();
		
		JavaElementLabelProvider lprovider= new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT);
		lprovider.setErrorTickManager(new MarkerErrorTickProvider());
		
		MethodsContentProvider contentProvider= new MethodsContentProvider();
		setLabelProvider(lprovider);
		setContentProvider(contentProvider);