// Currently I don't know how to open the facet setting from the code...
// if only the facet config was a Configurable instance!
if (exception.getConfigLocation() == IvySettingsNotFoundException.ConfigLocation.Project) {
linkBehavior = new LinkBehavior(
"Open " + exception.getConfigLocation() + " settings for " + exception.getConfigName() + "...",
new LinkListener() {
public void linkSelected(LinkLabel linkLabel, Object o) {
Configurable component = project.getComponent(IvyIdeaProjectSettingsComponent.class);
ShowSettingsUtil.getInstance().editConfigurable(project, component);
}
}, null);