*/
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);