Package com.googlecode.grinderstone.debug.ui.actions

Source Code of com.googlecode.grinderstone.debug.ui.actions.RunEditorAsGrinder

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");
  }

}
TOP

Related Classes of com.googlecode.grinderstone.debug.ui.actions.RunEditorAsGrinder

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.