private void updateValidProperty() { Boolean oldValid = Boolean.valueOf(myValid); myValid = isEditorValidImpl(); myTextEditor.firePropertyChange(FileEditor.PROP_VALID, oldValid, Boolean.valueOf(myValid)); }
/** 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)); }