Bug 36487 call hierarchy: drop should set input
dropping a method to the call hierarchy view should have the same effect as 'focus on'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewSiteAdapter.java
import org.eclipse.ui.IKeyBindingService;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.util.SelectionUtil;
import org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper;
/**
 * This class adapts a Call Hierarchy view site.
 * It converts selection of Call Hierarchy view entries to
 * be a selection of Java elements.
 * 
 */
class CallHierarchyViewSiteAdapter implements IViewSite {
    
    private ISelectionProvider fProvider;
    private IWorkbenchSite fSite;
    
    private ISelectionChangedListener fListener;
    public CallHierarchyViewSiteAdapter(IWorkbenchSite site){
        fSite= site;
        setSelectionProvider(site.getSelectionProvider());
    }
    
    public IWorkbenchPage getPage() {
        return fSite.getPage();
    }
    public ISelectionProvider getSelectionProvider() {