Package org.twodividedbyzero.idea.findbugs.core

Examples of org.twodividedbyzero.idea.findbugs.core.FindBugsPlugin


    final Project project = DataKeys.PROJECT.getData(_actionEvent.getDataContext());
    if (project == null) {
      return;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here


    final Project project = DataKeys.PROJECT.getData(event.getDataContext());
    if (project == null) {
      return false;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here

    final Project project = DataKeys.PROJECT.getData(event.getDataContext());
    if (project == null) {
      return;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here

    final Project project = DataKeys.PROJECT.getData(event.getDataContext());
    if (project == null) {
      return false;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here

    final Project project = DataKeys.PROJECT.getData(event.getDataContext());
    if (project == null) {
      return;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here

    return ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
  }


  protected void isPluginAccessible(final Project project) {
    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      Messages.showWarningDialog("Couldn't get findbugs plugin", "FindBugs");
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }
  }
View Full Code Here

    final Project project = DataKeys.PROJECT.getData(e.getDataContext());
    if (project == null) {
      return;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    BalloonTipFactory.showPopup(DataKeys.PROJECT.getData(e.getDataContext()), e.getInputEvent().getComponent(), HTML_BODY.toString(), BalloonTipFactory.Orientation.RIGHT, GuiResources.FINDBUGS_ICON, MessageType.INFO.getPopupBackground());
View Full Code Here

    return InspectionManager.getInstance(project);
  }


  private static void isPluginAccessible(final Project project) {
    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      Messages.showWarningDialog("Couldn't get findbugs plugin", "FindBugs");
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }
  }
View Full Code Here

    final Project project = DataKeys.PROJECT.getData(_actionEvent.getDataContext());
    if (project == null) {
      return;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here

    final Project project = DataKeys.PROJECT.getData(event.getDataContext());
    if (project == null) {
      return false;
    }

    final FindBugsPlugin findBugsPlugin = project.getComponent(FindBugsPlugin.class);
    if (findBugsPlugin == null) {
      throw new IllegalStateException("Couldn't get findbugs plugin");
    }

    final ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(getPluginInterface(project).getInternalToolWindowId());
View Full Code Here

TOP

Related Classes of org.twodividedbyzero.idea.findbugs.core.FindBugsPlugin

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.