Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 311474
Collapse All | Expand All

(-)plugin.xml (+5 lines)
Lines 2930-2935 Link Here
2930
            </iterate>
2930
            </iterate>
2931
         </activeWhen>
2931
         </activeWhen>
2932
      </handler>
2932
      </handler>
2933
      <handler
2934
            class="org.eclipse.debug.internal.ui.commands.actions.RestartCommandHandler"
2935
            commandId="org.eclipse.debug.ui.commands.Restart"
2936
            helpContextId="restart_action_context">
2937
      </handler>
2933
   </extension>
2938
   </extension>
2934
2939
2935
</plugin>
2940
</plugin>
(-)ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java (-1 / +5 lines)
Lines 18-29 Link Here
18
import org.eclipse.jface.resource.ImageDescriptor;
18
import org.eclipse.jface.resource.ImageDescriptor;
19
19
20
/**
20
/**
21
 * Handler for the 
21
 * Handler for the Restart action
22
 * 
22
 * 
23
 * @since 3.6
23
 * @since 3.6
24
 */
24
 */
25
public class RestartCommandAction extends DebugCommandAction {
25
public class RestartCommandAction extends DebugCommandAction {
26
26
27
    public RestartCommandAction() {
28
        setActionDefinitionId("org.eclipse.debug.ui.commands.Restart"); //$NON-NLS-1$
29
    }
30
    
27
    protected Class getCommandType() {
31
    protected Class getCommandType() {
28
        return IRestartHandler.class;
32
        return IRestartHandler.class;
29
    }
33
    }
(-)ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandHandler.java (+27 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2009 Wind River Systems and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
8
 * Contributors:
9
 *     Wind River Systems - initial API and implementation
10
 *******************************************************************************/
11
package org.eclipse.debug.internal.ui.commands.actions;
12
13
import org.eclipse.debug.core.commands.IRestartHandler;
14
import org.eclipse.debug.ui.actions.DebugCommandHandler;
15
16
/**
17
 * Command candler for the restart command (to enable key-binding activation). 
18
 * 
19
 * @since 3.6
20
 */
21
public class RestartCommandHandler extends DebugCommandHandler {
22
23
    protected Class getCommandType() {
24
        return IRestartHandler.class;
25
    }
26
27
}

Return to bug 311474