/bundles/plugins-trunk/Console/console/bsh/waitForConsole.bsh
# · Unknown · 12 lines · 10 code · 2 blank · 0 comment · 0 complexity · 787b7769673b43b681bf7ebc40abfe05 MD5 · raw file
- /* Blocks until the current command finishes. */
- waitForConsole(View view)
- {
- import console.Shell;
- view.getDockableWindowManager().addDockableWindow("console");
- console = view.getDockableWindowManager().getDockable("console");
- console.getShell().waitFor(console);
- }
- help.waitForConsole
- = "usage: waitForConsole(View view)";