1 11 package org.eclipse.debug.internal.ui.actions; 12 13 14 import org.eclipse.debug.core.DebugException; 15 import org.eclipse.debug.core.model.IStep; 16 17 public class StepReturnActionDelegate extends StepActionDelegate { 18 19 22 protected boolean checkCapability(IStep element) { 23 return element.canStepReturn(); 24 } 25 26 29 protected void stepAction(IStep element) throws DebugException { 30 element.stepReturn(); 31 } 32 33 36 protected String getStatusMessage() { 37 return ActionMessages.StepReturnActionDelegate_Exceptions_occurred_attempting_to_run_to_return_of_the_frame__2; } 39 40 43 protected String getErrorDialogMessage() { 44 return ActionMessages.StepReturnActionDelegate_Run_to_return_failed__1; } 46 47 51 protected String getActionDefinitionId() { 52 return "org.eclipse.debug.internal.ui.actions.StepReturnActionDelegate"; } 54 } 55 | Popular Tags |