X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java index 38a4f8b..86c0321 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/AbstractTextTools.java @@ -8,7 +8,7 @@ * Contributors: * Igor Malinin - initial contribution * - * $Id: AbstractTextTools.java,v 1.1 2004-09-02 18:26:49 jsurfer Exp $ + * $Id: AbstractTextTools.java,v 1.3 2006-10-21 23:13:54 pombredanne Exp $ */ package net.sourceforge.phpeclipse.ui.text; @@ -55,12 +55,14 @@ public class AbstractTextTools { * Creates a new text tools collection. */ public AbstractTextTools(IPreferenceStore store, String[] properties) { - this(store, properties, new ColorManager()); + this(store, properties, new ColorManager()); } + /** * Creates a new text tools collection. */ - public AbstractTextTools(IPreferenceStore store, String[] properties, ColorManager manager) { + public AbstractTextTools(IPreferenceStore store, String[] properties, + ColorManager manager) { this.store = store; this.properties = properties; @@ -140,14 +142,14 @@ public class AbstractTextTools { } /** - * Returns the color manager which is used to manage any XML-specific - * colors needed for such things like syntax highlighting. + * Returns the color manager which is used to manage any XML-specific colors + * needed for such things like syntax highlighting. * * @return the color manager to be used for XML text viewers */ - public ColorManager getColorManager() { - return colorManager; - } +// public ColorManager getColorManager() { +// return colorManager; +// } public Map getTokens() { return tokens; @@ -181,7 +183,7 @@ public class AbstractTextTools { * @param event * the event to whch to adapt */ - protected void adaptToPreferenceChange(PropertyChangeEvent event) { + public void adaptToPreferenceChange(PropertyChangeEvent event) { String property = event.getProperty(); Token token = getToken(property);