Package com.intellij.openapi.wm

Examples of com.intellij.openapi.wm.ToolWindow.show()


            final String url = getSelectedPomUrl(pEvent);
            if (url == null)
                return;

            tw.setAvailable(true, null);
            tw.show(new Runnable() {
                public void run() {
                    final SynchronizationResultsPanel ui;
                    ui = (SynchronizationResultsPanel) tw.getComponent();
                    final InspectionsManager mgr = InspectionsManager.getInstance(project);
                    final ProblemInfo[] problems = mgr.inspect(url, module);
View Full Code Here


    //TODO: can this go - who calls it?
    public void expandPanel() {
        ToolWindow toolWindow = toolWindowManager().getToolWindow(TOOLWINDOW_ID);
        if (!toolWindow.isVisible()) {
            toolWindow.show(null);
        }
    }

    public static String getVersion() {
        return PluginManager.getPlugin(PluginManager.getPluginByClassName(PMIP.class.getName())).getVersion();
View Full Code Here

        return project.getComponent(ExecutionManager.class);
    }

    private void showExecutionConsole() {
        ToolWindow toolWindow = initExecutionConsole();
        toolWindow.show(null);
    }

    public void hideExecutionConsole() {
        ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(getProject());
        ToolWindow toolWindow = toolWindowManager.getToolWindow(TOOL_WINDOW_ID);
View Full Code Here

    final ConsoleView consoleView = TextConsoleBuilderFactory.getInstance().createBuilder(project).getConsole();
    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(SonarToolWindowFactory.TOOL_WINDOW_ID);
    ApplicationManager.getApplication().invokeLater(new Runnable() {
      @Override
      public void run() {
        toolWindow.show(new Runnable() {
          @Override
          public void run() {
            Content content = toolWindow.getContentManager().getFactory().createContent(consoleView.getComponent(), "SonarQube Console", true);
            toolWindow.getContentManager().addContent(content);
          }
View Full Code Here

    }

    public synchronized void navigateToElement(BrowserTreeNode treeNode, boolean requestFocus) {
        ToolWindow toolWindow = getBrowserToolWindow();

        toolWindow.show(null);
        if (treeNode != null) {
            getToolWindowForm().getBrowserForm().selectElement(treeNode, requestFocus);
        }
    }
View Full Code Here

    semaphore.tryAcquire();
    UIUtil.invokeLater(new Runnable() {
      public void run() {
        ToolWindow window = myToolWindowManager.getToolWindow(getToolWindowId());
        if (window != null) {
          window.show(new Runnable() {
            public void run() {
              semaphore.release();
            }
          });
        }
View Full Code Here

            window.getContentManager().addContent(content);
            window.setIcon(GoIcons.GAE_ICON_13x13);
            window.setToHideOnEmptyContent(true);
            window.setTitle(TITLE);
        }
        window.show(EmptyRunnable.getInstance());

        if (!stopCurrentUpload()) {
            return;
        }
View Full Code Here

                    window.setIcon(GoSdkUtil.getProjectIcon(sdk));
                    window.setToHideOnEmptyContent(true);
                }
                window.setTitle(TITLE);

                window.show(EmptyRunnable.getInstance());

                String[] goEnv = GoSdkUtil.convertEnvMapToArray(sysEnv);

                String command = String.format(
                        "%s vet ./...",
View Full Code Here

                packagesToImport
        );

        consoleView.print(String.format("%s%n", command), ConsoleViewContentType.NORMAL_OUTPUT);

        window.show(EmptyRunnable.getInstance());

        final String finalPackagesToImport = packagesToImport.replace(" ", ", ");

        window.activate(new Runnable() {
            @Override
View Full Code Here

                packagesToImport
        );

        consoleView.print(String.format("%s%n", command), ConsoleViewContentType.NORMAL_OUTPUT);

        window.show(EmptyRunnable.getInstance());

        final String finalPackagesToImport = packagesToImport.replace(" ", ", ");

        window.activate(new Runnable() {
            @Override
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.