return project.getComponent(RevuProjectSettingsComponent.class).getState();
}
public static void editProjectSettings(@NotNull Project project, @Nullable final Review review)
{
final RevuProjectSettingsForm form = project.getComponent(RevuProjectSettingsForm.class);
ShowSettingsUtil.getInstance().editConfigurable(project, form, new Runnable()
{
public void run()
{
if (review != null)
{
form.selectItem(review);
}
}
});
}