Examples of ToolWindow


Examples of com.intellij.openapi.wm.ToolWindow

      }

      isPluginAccessible(project);

      // check if tool window is registered
      final ToolWindow toolWindow = isToolWindowRegistered(project);
      if (toolWindow == null) {
        presentation.setEnabled(false);
        presentation.setVisible(false);

        return;
      }

      registerEventListener(project);

      // enable ?
      if (!_running) {
        _enabled = project != null && project.isInitialized() && project.isOpen();
      }
      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
View Full Code Here

Examples of org.noos.xing.mydoggy.ToolWindow

  }

  class ActiveBeforeListener implements PropertyChangeListener {
    public void propertyChange(PropertyChangeEvent evt) {
      ToolWindow sourceTool = ((ToolWindowDescriptor) evt.getSource()).getToolWindow();
      boolean newValue = (Boolean) evt.getNewValue();

      if (newValue) {
        // Deactive all tools on the same bar
        ToolWindow[] toolWindows = manager.getToolsByAnchor(getAnchor());
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.