Bug 7540 JDT Type hierarchy "Lock view ..." doen't work always
If the "Lock view and show members in hierarchy" is selected before any method is selected in method pane, the class pane isn t updated, if a method is selected afterwards. Selecting a method and select "Lock view..." works as expected
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java
Integer ratio= memento.getInteger(TAG_RATIO);
		if (ratio != null) {
			fTypeMethodsSplitter.setWeights(new int[] { ratio.intValue(), 1000 - ratio.intValue() });
		}
		ScrollBar bar= getCurrentViewer().getTree().getVerticalBar();
		if (bar != null) {
			Integer vScroll= memento.getInteger(TAG_VERTICAL_SCROLL);
			if (vScroll != null) {
				bar.setSelection(vScroll.intValue());
			}
		}
		
		String selectionId= memento.getString(TAG_SELECTION);
		if (selectionId != null) {
			IJavaElement elem= JavaCore.create(selectionId);
			if (getCurrentViewer().isElementShown(elem) && elem instanceof IMember) {
				internalSelectType((IMember)elem, false);
			}
		}
		fMethodsViewer.restoreState(memento);
	}
	
	/**
	 * Link selection to active editor.
	 */
	private void editorActivated(IEditorPart editor) {
		if (!JavaBasePreferencePage.linkTypeHierarchySelectionToEditor()) {
			return;
		}
		if (fInputElement == null) {