blob: 47df9093bb196c17d6a1f11f0533b22d7ff121eb [file] [log] [blame]
package org.eclipse.debug.internal.ui;
/*
* Licensed Materials - Property of IBM,
* WebSphere Studio Workbench
* (c) Copyright IBM Corp 2000
*/
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.IStep;
public class StepReturnActionDelegate extends StepActionDelegate {
private static final String PREFIX= "step_return_action.";
/**
* @see StepActionDelegate
*/
protected boolean checkCapability(IStep element) {
return element.canStepReturn();
}
/**
* @see StepActionDelegate
*/
protected void stepAction(IStep element) throws DebugException {
element.stepReturn();
}
/**
* @see ControlActionDelegate
*/
protected String getPrefix() {
return PREFIX;
}
}