X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.ui%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fui%2Fconsole%2FSCLScriptConsoleView.java;h=3bcd1c61bcf4ec74f7d79c0fe949b57f6fce797b;hp=8df0caa36a4a70da262e12c22d15131394fdad60;hb=68d3a3825550e81c7505b9548edd2db2aa7d841a;hpb=d1c23bec0b9900d92fc522429ef5476757a2af93 diff --git a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLScriptConsoleView.java b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLScriptConsoleView.java index 8df0caa36..3bcd1c61b 100644 --- a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLScriptConsoleView.java +++ b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLScriptConsoleView.java @@ -14,21 +14,12 @@ import org.simantics.scl.runtime.reporting.SCLReportingHandler; */ public class SCLScriptConsoleView extends ViewPart { - static class SCLOutputConsole extends SCLConsole { - public SCLOutputConsole(Composite parent, int style) { - super(parent, style, AbstractCommandConsole.HIDE_INPUT); - } - - @Override - protected void addContributedListeners() { - } - } - - SCLOutputConsole console; + private SCLConsole console; @Override public void createPartControl(Composite parent) { - this.console = new SCLOutputConsole(parent, SWT.NONE); + this.console = new SCLConsole(parent, SWT.NONE, + AbstractCommandConsole.HIDE_INPUT | SCLConsole.EXCLUDE_CONTRIBUTED_LISTENERS); IToolBarManager toolBarManager = getViewSite().getActionBars().getToolBarManager(); Action interruptAction = ConsoleActions.createInterruptAction(console);