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");
}
}