public void setActiveEditor(IAction action, IEditorPart targetEditor) {
this.targetEditor = targetEditor;
}
public void run(IAction action) {
ScriptConsoleManager manager = ScriptConsoleManager.getInstance();
IScriptConsole console = manager.getActiveScriptConsole(RutaConsole.CONSOLE_TYPE);
if (console == null) {
return;
}