showNewResources = ((Boolean)event.getNewValue()).booleanValue();
showNewResources = getBoolean(event);
	public SVNLightweightDecorator() {		dateFormat = DateFormat.getInstance();		IPreferenceStore store = SVNUIPlugin.getPlugin().getPreferenceStore();		computeDeepDirtyCheck = store.getBoolean(ISVNUIConstants.PREF_CALCULATE_DIRTY);		folderDecoratorFormat = SVNDecoratorConfiguration.compileFormatString(store.getString(ISVNUIConstants.PREF_FOLDERTEXT_DECORATION));		projectDecoratorFormat = SVNDecoratorConfiguration.compileFormatString(store.getString(ISVNUIConstants.PREF_PROJECTTEXT_DECORATION));		fileDecoratorFormat = SVNDecoratorConfiguration.compileFormatString(store.getString(ISVNUIConstants.PREF_FILETEXT_DECORATION));		dirtyFlag = store.getString(ISVNUIConstants.PREF_DIRTY_FLAG);		addedFlag = store.getString(ISVNUIConstants.PREF_ADDED_FLAG);        externalFlag = store.getString(ISVNUIConstants.PREF_EXTERNAL_FLAG);		showNewResources = store.getBoolean(ISVNUIConstants.PREF_SHOW_NEWRESOURCE_DECORATION);		showDirty = store.getBoolean(ISVNUIConstants.PREF_SHOW_DIRTY_DECORATION);		showAdded = store.getBoolean(ISVNUIConstants.PREF_SHOW_ADDED_DECORATION);        showExternal = store.getBoolean(ISVNUIConstants.PREF_SHOW_EXTERNAL_DECORATION);		showHasRemote = store.getBoolean(ISVNUIConstants.PREF_SHOW_HASREMOTE_DECORATION);		propertyListener = new IPropertyChangeListener() {						public void propertyChange(PropertyChangeEvent event) {							if (ISVNUIConstants.PREF_CALCULATE_DIRTY.equals(event.getProperty())) {								computeDeepDirtyCheck = ((Boolean)event.getNewValue()).booleanValue();												} else if (ISVNUIConstants.PREF_FOLDERTEXT_DECORATION.equals(event.getProperty())) {								folderDecoratorFormat = SVNDecoratorConfiguration.compileFormatString((String)event.getNewValue());							} else if (ISVNUIConstants.PREF_PROJECTTEXT_DECORATION.equals(event.getProperty())) {								projectDecoratorFormat = SVNDecoratorConfiguration.compileFormatString((String)event.getNewValue());							} else if (ISVNUIConstants.PREF_FILETEXT_DECORATION.equals(event.getProperty())) {								fileDecoratorFormat = SVNDecoratorConfiguration.compileFormatString((String)event.getNewValue());							} else if (ISVNUIConstants.PREF_DIRTY_FLAG.equals(event.getProperty())) {								dirtyFlag = (String)event.getNewValue();							} else if (ISVNUIConstants.PREF_ADDED_FLAG.equals(event.getProperty())) {								addedFlag = (String)event.getNewValue();							} else if (ISVNUIConstants.PREF_EXTERNAL_FLAG.equals(event.getProperty())) {                                externalFlag = (String)event.getNewValue();                            } else if (ISVNUIConstants.PREF_SHOW_NEWRESOURCE_DECORATION.equals(event.getProperty())){								showNewResources = ((Boolean)event.getNewValue()).booleanValue();							} else if (ISVNUIConstants.PREF_SHOW_DIRTY_DECORATION.equals(event.getProperty())) {								showDirty = ((Boolean)event.getNewValue()).booleanValue();							} else if (ISVNUIConstants.PREF_SHOW_ADDED_DECORATION.equals(event.getProperty())) {								showAdded = ((Boolean)event.getNewValue()).booleanValue();							} else if (ISVNUIConstants.PREF_SHOW_EXTERNAL_DECORATION.equals(event.getProperty())) {                                showExternal = ((Boolean)event.getNewValue()).booleanValue();                            } else if (ISVNUIConstants.PREF_SHOW_HASREMOTE_DECORATION.equals(event.getProperty())) {								showHasRemote = ((Boolean)event.getNewValue()).booleanValue();							}						}					};		store.addPropertyChangeListener(propertyListener);		SVNProviderPlugin.addResourceStateChangeListener(this);//		SVNProviderPlugin.broadcastDecoratorEnablementChanged(true /* enabled */);	}