void () { getProjectTreeStructure().setProviders(); final PsiClass aClass = JavaDirectoryService.getInstance().getClasses(getPackageDirectory())[0]; PsiFile element = aClass.getContainingFile(); myStructure.checkNavigateFromSourceBehaviour(element, element.getVirtualFile(), myStructure.createPane()); }