diff options
Diffstat (limited to 'ui/org.eclipse.pde.ui.tests/Macro Manager/org/eclipse/pde/internal/ui/tests/macro/WindowCommandTarget.java')
-rw-r--r-- | ui/org.eclipse.pde.ui.tests/Macro Manager/org/eclipse/pde/internal/ui/tests/macro/WindowCommandTarget.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/ui/org.eclipse.pde.ui.tests/Macro Manager/org/eclipse/pde/internal/ui/tests/macro/WindowCommandTarget.java b/ui/org.eclipse.pde.ui.tests/Macro Manager/org/eclipse/pde/internal/ui/tests/macro/WindowCommandTarget.java deleted file mode 100644 index 2e02d28c95..0000000000 --- a/ui/org.eclipse.pde.ui.tests/Macro Manager/org/eclipse/pde/internal/ui/tests/macro/WindowCommandTarget.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2008 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.pde.internal.ui.tests.macro; - -import org.eclipse.jface.window.Window; -import org.eclipse.swt.widgets.Widget; - -public class WindowCommandTarget extends CommandTarget { - /** - * @param widget - * @param context - */ - public WindowCommandTarget(Widget widget, Window window) { - super(widget, window); - } - - Window getWindow() { - return (Window) getContext(); - } - - /* (non-Javadoc) - * @see org.eclipse.ui.macro.CommandTarget#ensureVisible() - */ - public void ensureVisible() { - Window window = getWindow(); - window.getShell().setActive(); - } -}
\ No newline at end of file |