* 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;
* 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;
}
/**
- * 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;
* @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);