Package com.boxysystems.scriptmonkey.intellij.action

Examples of com.boxysystems.scriptmonkey.intellij.action.ClearEditorAction


  public void projectOpened() {
    toolWindow = new ScriptMonkeyToolWindow(project);
    ScriptCommandProcessor commandProcessor = new ScriptCommandProcessor(ApplicationManager.getApplication(), project, this);

    ClearEditorAction clearEditorAction = new ClearEditorAction();
    ShowScriptMonkeyConfigurationAction showConfigurationAction = new ShowScriptMonkeyConfigurationAction();
    OpenHelpAction openHelpAction = new OpenHelpAction();

    AnAction commandShellActions[] = {clearEditorAction, showConfigurationAction, openHelpAction};

    commandShellPanel = new ScriptShellPanel(commandProcessor, commandShellActions);
    commandShellPanel.applySettings(ScriptMonkeyApplicationComponent.getInstance().getSettings());
    clearEditorAction.setScriptShellPanel(commandShellPanel);
    commandProcessor.processCommandLine();
    commandProcessor.addGlobalVariable("window", commandShellPanel);
    toolWindow.addContentPanel("JS Shell", commandShellPanel);
  }
View Full Code Here

TOP

Related Classes of com.boxysystems.scriptmonkey.intellij.action.ClearEditorAction

Copyright © 2018 www.massapicom. 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.