void () { EditSourceOnDoubleClickHandler.install(this); EditSourceOnEnterKeyHandler.install(this); boolean canExpand = Registry.is("tests.view.node.expanding.search"); TreeSpeedSearch.installOn(this, canExpand, path -> { final AbstractTestProxy testProxy = getSelectedTest(path); if (testProxy == null) return null; return getPresentableName(testProxy); }); TreeUtil.installActions(this); PopupHandler.installPopupMenu(this, IdeActions.GROUP_TESTTREE_POPUP, ActionPlaces.TESTTREE_VIEW_POPUP); HintUpdateSupply.installHintUpdateSupply(this, obj -> { Object userObject = TreeUtil.getUserObject(obj); Object element = userObject instanceof NodeDescriptor? ((NodeDescriptor<?>)userObject).getElement() : null; if (element instanceof AbstractTestProxy) { return (PsiElement)getSlowData(CommonDataKeys.PSI_ELEMENT.getName(), (AbstractTestProxy)element, myModel); } return null; }); }