check.addChanged("new resource");
}
if (thisApplyButton == applyButton) {
/* not a wizard button */
if (isDialogStarted()) {
check.addIncorrect("dialog started");
}
thisApplyButton.setEnabled(check);
} else {
/* wizard button */
thisApplyButton.setEnabledCorrect(check);