Examples of ScriptMonkeyPlugin


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

Examples of com.boxysystems.scriptmonkey.intellij.ScriptMonkeyPlugin

    }


    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

Examples of com.boxysystems.scriptmonkey.intellij.ScriptMonkeyPlugin

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