Examples of ClearEditorAction


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
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.