1 11 package org.eclipse.debug.internal.ui.commands.actions; 12 13 import org.eclipse.debug.core.commands.ISuspendHandler; 14 import org.eclipse.debug.internal.ui.DebugPluginImages; 15 import org.eclipse.debug.internal.ui.IInternalDebugUIConstants; 16 import org.eclipse.debug.internal.ui.actions.ActionMessages; 17 import org.eclipse.jface.resource.ImageDescriptor; 18 19 24 public class SuspendCommandAction extends DebugCommandAction { 25 26 27 public String getText() { 28 return ActionMessages.SuspendAction_0; 29 } 30 31 public String getHelpContextId() { 32 return "org.eclipse.debug.ui.suspend_action_context"; } 34 35 public String getId() { 36 return "org.eclipse.debug.ui.debugview.toolbar.suspend"; } 38 39 public String getToolTipText() { 40 return ActionMessages.SuspendAction_3; 41 } 42 43 public ImageDescriptor getDisabledImageDescriptor() { 44 return DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_DLCL_SUSPEND); 45 } 46 47 public ImageDescriptor getHoverImageDescriptor() { 48 return DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_SUSPEND); 49 } 50 51 public ImageDescriptor getImageDescriptor() { 52 return DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_SUSPEND); 53 } 54 55 protected Class getCommandType() { 56 return ISuspendHandler.class; 57 } 58 } 59 | Popular Tags |