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
JavaPlugin.getDefault().getProblemMarkerManager().addListener(fMethodsViewer);
		return control;
	}
	
	private void initDragAndDrop() {
		Transfer[] transfers= new Transfer[] { LocalSelectionTransfer.getInstance() };
		int ops= DND.DROP_COPY;
		DragSource source= new DragSource(fMethodsViewer.getControl(), ops);
		source.setTransfer(transfers);
		source.addDragListener(new BasicSelectionTransferDragAdapter(fMethodsViewer));
		
		for (int i= 0; i < fAllViewers.length; i++) {
			TypeHierarchyViewer curr= fAllViewers[i];
			curr.addDropSupport(ops, transfers, new TypeHierarchyTransferDropAdapter(curr));
		}	
	}
	
	
	private void viewPartKeyShortcuts(KeyEvent event) {
		if (event.stateMask == SWT.CTRL) {
			if (event.character == '1') {
				setView(VIEW_ID_TYPE);
			} else if (event.character == '2') {
				setView(VIEW_ID_SUPER);
			} else if (event.character == '3') {
				setView(VIEW_ID_SUB);
			}
		}	
	}