コード例 #1
0
 private void updateValidProperty() {
   Boolean oldValid = Boolean.valueOf(myValid);
   myValid = isEditorValidImpl();
   myTextEditor.firePropertyChange(FileEditor.PROP_VALID, oldValid, Boolean.valueOf(myValid));
 }
コード例 #2
0
 /** Updates "modified" property and fires event if necessary */
 void updateModifiedProperty() {
   Boolean oldModified = Boolean.valueOf(myModified);
   myModified = isModifiedImpl();
   myTextEditor.firePropertyChange(
       FileEditor.PROP_MODIFIED, oldModified, Boolean.valueOf(myModified));
 }