IAction openAction = new PyOpenAction();
setAction(ACTION_OPEN, openAction);
// -------------------------------------------------------------------------------------
// Offline action
action = new OfflineAction(resources, "Pyedit.ScriptEngine.", this);
action.setActionDefinitionId("org.python.pydev.editor.actions.scriptEngine");
action.setId("org.python.pydev.editor.actions.scriptEngine");
setAction("PyDevScriptEngine", action);
// -------------------------------------------------------------------------------------