diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java index 5661ca927..cc34a4d3c 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2010 Wind River Systems and others. + * Copyright (c) 2009, 2013 Wind River Systems 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 @@ -7,6 +7,7 @@ * * Contributors: * Wind River Systems - initial API and implementation + * IBM Corporation - bug fixing *******************************************************************************/ package org.eclipse.debug.internal.ui.commands.actions; @@ -28,35 +29,43 @@ public class RestartCommandAction extends DebugCommandAction { setActionDefinitionId("org.eclipse.debug.ui.commands.Restart"); //$NON-NLS-1$ } - protected Class getCommandType() { + @Override + protected Class<IRestartHandler> getCommandType() { return IRestartHandler.class; } - public ImageDescriptor getDisabledImageDescriptor() { + @Override + public ImageDescriptor getDisabledImageDescriptor() { return DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_DLCL_RESTART); } - public String getHelpContextId() { + @Override + public String getHelpContextId() { return "org.eclipse.debug.ui.restart_action_context"; //$NON-NLS-1$ } - public ImageDescriptor getHoverImageDescriptor() { + @Override + public ImageDescriptor getHoverImageDescriptor() { return DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_RESTART); } - public String getId() { + @Override + public String getId() { return "org.eclipse.debug.ui.actions.Restart"; //$NON-NLS-1$ } - public ImageDescriptor getImageDescriptor() { + @Override + public ImageDescriptor getImageDescriptor() { return DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_RESTART); } - public String getText() { + @Override + public String getText() { return ActionMessages.RestartCommandAction__text; } - public String getToolTipText() { + @Override + public String getToolTipText() { return ActionMessages.RestartCommandAction_tooltip; } |