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());