bindings = new HashMap(5); dateFormat = DateFormat.getInstance();  IPreferenceStore store = SVNUIPlugin.getPlugin().getPreferenceStore(); computeDeepDirtyCheck = store.getBoolean(ISVNUIConstants.PREF_CALCULATE_DIRTY); folderDecoratorFormat = SVNDecoratorConfiguration.compileFormatString(store.getString(ISVNUIConstants.PREF_FOLDERTEXT_DECORATION), bindings); projectDecoratorFormat = SVNDecoratorConfiguration.compileFormatString(store.getString(ISVNUIConstants.PREF_PROJECTTEXT_DECORATION), bindings); fileDecoratorFormat = SVNDecoratorConfiguration.compileFormatString(store.getString(ISVNUIConstants.PREF_FILETEXT_DECORATION), bindings); dirtyFlag = store.getString(ISVNUIConstants.PREF_DIRTY_FLAG); addedFlag = store.getString(ISVNUIConstants.PREF_ADDED_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); 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(), bindings); } else if (ISVNUIConstants.PREF_PROJECTTEXT_DECORATION.equals(event.getProperty())) { projectDecoratorFormat = SVNDecoratorConfiguration.compileFormatString((String)event.getNewValue(), bindings); } else if (ISVNUIConstants.PREF_FILETEXT_DECORATION.equals(event.getProperty())) { fileDecoratorFormat = SVNDecoratorConfiguration.compileFormatString((String)event.getNewValue(), bindings); } 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_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_HASREMOTE_DECORATION.equals(event.getProperty())) { showHasRemote = ((Boolean)event.getNewValue()).booleanValue(); } } }; store.addPropertyChangeListener(propertyListener);
	public SVNLightweightDecorator() {		SVNProviderPlugin.addResourceStateChangeListener(this);//		SVNProviderPlugin.broadcastDecoratorEnablementChanged(true /* enabled */);	}