code: protected void updateDirtyState() {
  		boolean dirty = isDirty();
  		if (oldDirty != dirty) {
  			oldDirty = dirty;
  			firePropertyChange(DIRTY_PROPERTY, !dirty, dirty);
  		}
  	}
docs: Check the dirty state and fire events if needed.