|
@@ -302,6 +302,14 @@ public class ProfileManagerDialogLinker {
|
302
|
302
|
profileName.setValidation(model.isNameValid());
|
303
|
303
|
}
|
304
|
304
|
});
|
|
305
|
+ model.addPropertyChangeListener("profiles", new PropertyChangeListener() {
|
|
306
|
+ @Override
|
|
307
|
+ public void propertyChange(final PropertyChangeEvent evt) {
|
|
308
|
+ profileName.setText(model.getName());
|
|
309
|
+ profileName.setEnabled(model.isManipulateProfileAllowed());
|
|
310
|
+ profileName.setValidation(model.isNameValid());
|
|
311
|
+ }
|
|
312
|
+ });
|
305
|
313
|
profileName.setEnabled(model.isManipulateProfileAllowed());
|
306
|
314
|
}
|
307
|
315
|
|