1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-26 20:17:14 +00:00
parent 03a2f1d859
commit d26a1e2e98

View file

@ -72,7 +72,7 @@ import org.eclipse.ui.dialogs.TwoPaneElementSelector;
public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
public void launch(IEditorPart editor, String mode) {
searchAndLaunch(new Object[] { editor.getEditorInput()}, mode);
searchAndLaunch(new Object[] { editor.getEditorInput() }, mode);
}
public void launch(ISelection selection, String mode) {
@ -234,7 +234,7 @@ public class CApplicationLaunchShortcut implements ILaunchShortcut2 {
* Convenience method to get the window that owns this action's Shell.
*/
protected Shell getShell() {
IWorkbenchWindow w = CDebugUIPlugin.getActiveWorkbenchWindow();
IWorkbenchWindow w = CDebugUIPlugin.getActiveWorkbenchWindow();
if (w != null) {
return w.getShell();
}