package com.googlecode.grinderstone.debug.ui.actions;
import org.eclipse.jface.action.IAction;
import org.python.pydev.editor.actions.PyAction;
import com.googlecode.grinderstone.debug.ui.launching.GrinderLaunchShortcut;
/**
* Class represents "Run..." shortcut.
*
* @author Borislav Andruschuk
* @since GrinderStone 1.0
*/
public class RunEditorAsGrinder extends PyAction {
/**
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
public void run(IAction action) {
GrinderLaunchShortcut shortcut = new GrinderLaunchShortcut();
shortcut.launch(getPyEdit(), "run");
}
}