PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/bundles/plugins-trunk/Console/console/bsh/waitForConsole.bsh

#
Unknown | 12 lines | 10 code | 2 blank | 0 comment | 0 complexity | 787b7769673b43b681bf7ebc40abfe05 MD5 | raw file
 1/* Blocks until the current command finishes. */
 2waitForConsole(View view)
 3{
 4	import console.Shell;
 5
 6	view.getDockableWindowManager().addDockableWindow("console");
 7	console = view.getDockableWindowManager().getDockable("console");
 8	console.getShell().waitFor(console);
 9}
10
11help.waitForConsole
12	= "usage: waitForConsole(View view)";