コード例 #1
0
 private void selectViewableElement() {
   PsiDocumentManager.getInstance(myProject).commitAllDocuments();
   final Object currentEditorElement = myTreeModel.getCurrentEditorElement();
   if (currentEditorElement != null) {
     select(currentEditorElement, false);
   }
 }
コード例 #2
0
 public boolean navigateToSelectedElement(boolean requestFocus) {
   return select(myTreeModel.getCurrentEditorElement(), requestFocus);
 }