Package com.boxysystems.scriptmonkey.intellij

Examples of com.boxysystems.scriptmonkey.intellij.ScriptMonkeyPlugin


public class ShowCommandShellAction extends AnAction {

    public void actionPerformed(AnActionEvent anActionEvent) {

        Project project = ProjectUtil.getProject(anActionEvent);
        ScriptMonkeyPlugin scriptMonkeyPlugin = ScriptMonkeyPlugin.getInstance(project);
        if (scriptMonkeyPlugin != null) {
            ScriptMonkeyToolWindow toolWindow = scriptMonkeyPlugin.getToolWindow();
            toolWindow.activate();
        }
    }
View Full Code Here


    }


    public void actionPerformed(AnActionEvent anActionEvent) {
        Project project = ProjectUtil.getProject(anActionEvent);
        ScriptMonkeyPlugin plugin = ScriptMonkeyPlugin.getInstance(project);
        ScriptMonkeyToolWindow toolWindow = plugin.getToolWindow();
        ContentManager contentManager = toolWindow.getContentManager();
        Content content = contentManager.findContent(contentName);
        contentManager.removeContent(content, true);
    }
View Full Code Here

            File scriptFile = getScriptFile(editor);

            if (scriptFile != null) {

                ScriptMonkeyPlugin scriptMonkeyPlugin = ScriptMonkeyPlugin.getInstance(project);
                ScriptCommandProcessor commandProcessor = new ScriptCommandProcessor(ApplicationManager.getApplication(), project, scriptMonkeyPlugin);
                commandProcessor.setCommandShell(false);

                String contentName = scriptFile.getName();

                ScriptMonkeyToolWindow toolWindow = scriptMonkeyPlugin.getToolWindow();

                Content content = toolWindow.getContentManager().findContent(contentName);

                ScriptShellPanel panel;
                if (content == null) {
View Full Code Here

TOP

Related Classes of com.boxysystems.scriptmonkey.intellij.ScriptMonkeyPlugin

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.