Mercurial > projects > dwt-addons
diff dwtx/jface/text/templates/persistence/TemplateStore.d @ 148:b3dec671d1f7
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:40:25 +0200 |
parents | 75302ef3f92f |
children | f70d9508c95c |
line wrap: on
line diff
--- a/dwtx/jface/text/templates/persistence/TemplateStore.d Sun Aug 24 22:35:05 2008 +0200 +++ b/dwtx/jface/text/templates/persistence/TemplateStore.d Sun Aug 24 22:40:25 2008 +0200 @@ -61,13 +61,13 @@ /** * Set to <code>true</code> if property change events should be ignored (e.g. during writing * to the preference store). - * + * * @since 3.2 */ private bool fIgnorePreferenceStoreChanges= false; /** * The property listener, if any is registered, <code>null</code> otherwise. - * + * * @since 3.2 */ private IPropertyChangeListener fPropertyListener; @@ -115,13 +115,13 @@ loadContributedTemplates(); loadCustomTemplates(); } - + /** * Starts listening for property changes on the preference store. If the configured preference * key changes, the template store is {@link #load() reloaded}. Call * {@link #stopListeningForPreferenceChanges()} to remove any listener and stop the * auto-updating behavior. - * + * * @since 3.2 */ public final void startListeningForPreferenceChanges() { @@ -143,13 +143,13 @@ }; fPreferenceStore.addPropertyChangeListener(fPropertyListener); } - + } - + /** * Stops the auto-updating behavior started by calling * {@link #startListeningForPreferenceChanges()}. - * + * * @since 3.2 */ public final void stopListeningForPreferenceChanges() { @@ -158,11 +158,11 @@ fPropertyListener= null; } } - + /** * Handles an {@link IOException} thrown during reloading the preferences due to a preference * store update. The default is to write to stderr. - * + * * @param x the exception * @since 3.2 */ @@ -263,7 +263,7 @@ * * @param data the template to remove */ - public void delete(TemplatePersistenceData data) { + public void delete_(TemplatePersistenceData data) { if (data.isUserAdded()) fTemplates.remove(data); else