public class ProjectNewWindowDoNotAskOption implements DialogWrapper.DoNotAskOption {
public boolean isToBeShown() {
return true;
}
public void setToBeShown(boolean value, int exitCode) {
<BUG>GeneralSettings.getInstance().setConfirmOpenNewProject(value || exitCode == 2 ? -1 : exitCode);
}</BUG>
public boolean canBeHidden() {
return true;
}

public class ProjectNewWindowDoNotAskOption implements DialogWrapper.DoNotAskOption {
public boolean isToBeShown() {
return true;
}
public void setToBeShown(boolean value, int exitCode) {
int confirmOpenNewProject = value || exitCode == 2 ? GeneralSettings.OPEN_PROJECT_ASK :
exitCode == 0 ? GeneralSettings.OPEN_PROJECT_SAME_WINDOW : GeneralSettings.OPEN_PROJECT_NEW_WINDOW ;
GeneralSettings.getInstance().setConfirmOpenNewProject(confirmOpenNewProject);
}
public boolean canBeHidden() {
return true;
}
