Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java
index ed846b0cf..ea09fb14e 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -11,7 +11,6 @@
package org.eclipse.ui.internal.console;
import org.eclipse.jface.action.Action;
-
import org.eclipse.ui.console.IConsole;
import org.eclipse.ui.console.IConsoleView;
@@ -19,20 +18,21 @@ import org.eclipse.ui.console.IConsoleView;
* Shows a specific console in the console view
*/
public class ShowConsoleAction extends Action {
-
+
private IConsole fConsole;
private IConsoleView fView;
/* (non-Javadoc)
* @see org.eclipse.jface.action.IAction#run()
*/
+ @Override
public void run() {
showConsole(fConsole, fView);
}
/**
* Shows the given console in the given console view.
- *
+ *
* @param console the console to show
* @param consoleView the console view
*/
@@ -44,14 +44,14 @@ public class ShowConsoleAction extends Action {
}
consoleView.display(console);
if (pinned) {
- consoleView.setPinned(true);
+ consoleView.setPinned(true);
}
}
}
/**
* Constructs an action to display the given console.
- *
+ *
* @param view the console view in which the given console is contained
* @param console the console
*/

Back to the top