Examples of FindBugsPlugin


Examples of de.tobject.findbugs.FindbugsPlugin

                    // property view
                    openBrowserInEditor(event);
                }
            });
        } catch (SWTError e) {
            FindbugsPlugin plugin = FindbugsPlugin.getDefault();
            plugin.logException(new RuntimeException(e.getMessage(), e),
                    "Could not create org.eclipse.swt.widgets.Composite.Browser");

        }
    }
View Full Code Here

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

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

    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

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

    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

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

    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

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

    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

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

    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

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

    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

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

    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

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