This commit is contained in:
Konstantin Bulenkov
2012-01-18 20:00:24 +01:00
parent 8d5f3b4d13
commit b39b0a58af
@@ -194,6 +194,7 @@ public class FileStructurePopup implements Disposable {
}
public void show() {
//final long time = System.currentTimeMillis();
final ActionCallback treeHasBuilt = new ActionCallback();
IdeFocusManager.getInstance(myProject).typeAheadUntil(treeHasBuilt);
JComponent panel = createCenterPanel();
@@ -232,6 +233,8 @@ public class FileStructurePopup implements Disposable {
public void run() {
selectPsiElement(getCurrentElement(getPsiFile(myProject)));
treeHasBuilt.setDone();
//long t = System.currentTimeMillis() - time;
//System.out.println("Shown in " + t + "ms");
}
});
}