void (boolean enabled) { assertNotTemplatePresentation(); boolean oldEnabled = BitUtil.isSet(myFlags, IS_ENABLED); myFlags = BitUtil.set(myFlags, IS_ENABLED, enabled); fireBooleanPropertyChange(PROP_ENABLED, oldEnabled, enabled); }