Fixed a bug in Am2900; created dlatch8/80; relayouted some components
[Mograsim.git] / net.mograsim.preferences / src / net / mograsim / preferences / ColorManager.java
index 79f7cee..f6f5d8d 100644 (file)
@@ -1,7 +1,6 @@
 package net.mograsim.preferences;
 
 import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.graphics.Device;
 
 public abstract class ColorManager
 {
@@ -21,7 +20,10 @@ public abstract class ColorManager
                return currentManager;
        }
 
-       public abstract Color toColor(Device device, ColorDefinition col);
+       public abstract Color toColor(ColorDefinition col);
 
-       public abstract void dispose(Color col);
+       public void clearCache()
+       {
+               // this method is intended to be overridden
+       }
 }
\ No newline at end of file