Quantum version 2.4.2
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / editors / ColorManager.java
index a7a662c..6b12a99 100644 (file)
@@ -10,18 +10,19 @@ import org.eclipse.swt.widgets.Display;
 
 public class ColorManager {
 
-       protected Map fColorTable = new HashMap(10);
+       protected Map colorTable = new HashMap(10);
 
        public void dispose() {
-               Iterator e= fColorTable.values().iterator();
-               while (e.hasNext())
+               Iterator e= this.colorTable.values().iterator();
+               while (e.hasNext()) {
                        ((Color) e.next()).dispose();
+               }
        }
        public Color getColor(RGB rgb) {
-               Color color= (Color) fColorTable.get(rgb);
+               Color color= (Color) colorTable.get(rgb);
                if (color == null) {
                        color= new Color(Display.getCurrent(), rgb);
-                       fColorTable.put(rgb, color);
+                       this.colorTable.put(rgb, color);
                }
                return color;
        }