/** * Shows this console in all console views. This console will be become visible * if another console is currently pinned. * * @since 3.1 */ public void activate() { ConsolePlugin.getDefault().getConsoleManager().showConsoleView(this); }
/** * Shows this console in all console views. This console will be become visible * if another console is currently pinned. * * @since 3.1 */ public void activate() { ConsolePlugin.getDefault().getConsoleManager().showConsoleView(this); }
public void openConsole() { if (fConsole == null) { fConsole = new JavaStackTraceConsole(); fConsole.initializeDocument(); fConsoleManager.addConsoles(new IConsole[]{fConsole}); } fConsoleManager.showConsoleView(fConsole); } }
@Override public void openConsole() { IOConsole console = getConsole(); IConsole[] existing = fConsoleManager.getConsoles(); boolean exists = false; for (IConsole existingConsole : existing) { if (console == existingConsole) exists = true; } if (!exists) fConsoleManager.addConsoles(new IConsole[] {console}); fConsoleManager.showConsoleView(console); }
public void showConsole() { boolean exists = false; IConsoleManager manager = ConsolePlugin.getDefault().getConsoleManager(); for(IConsole element : manager.getConsoles()) { if(this == element) { exists = true; } } if(!exists) { manager.addConsoles(new IConsole[] {this}); } manager.showConsoleView(this); }
public MessageConsole show() { if (console == null) { console = new MessageConsole(NLS.bind("Output for Build {0}", build.getLabel()), CONSOLE_TYPE, BuildImages.CONSOLE, true); consoleManager.addConsoles(new IConsole[] { console }); console.setAttribute(ATTRIBUTE_BUILD, build); stream = console.newMessageStream(); } doGetOutput(); consoleManager.showConsoleView(console); return console; }
/** * Show the console. * * @param showNoMatterWhat ignore preferences if <code>true</code> */ public void show(boolean showNoMatterWhat) { if(showNoMatterWhat) { if(!isVisible()) { showConsole(); } else { ConsolePlugin.getDefault().getConsoleManager().showConsoleView(this); } } }
private void bringConsoleToFront() { if(PlatformUI.isWorkbenchRunning()) { IConsoleManager manager = ConsolePlugin.getDefault().getConsoleManager(); if(!isVisible()) { manager.addConsoles(new IConsole[] {this}); } manager.showConsoleView(this); } }