Replaced hardcoded string with reference to MGSActivater.PLUGIN_ID
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Sun, 29 Sep 2019 20:52:35 +0000 (22:52 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Sun, 29 Sep 2019 20:52:35 +0000 (22:52 +0200)
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/EclipsePreferences.java

index 1e2c447..445cf20 100644 (file)
@@ -53,7 +53,7 @@ public class EclipsePreferences extends Preferences
                RGB rgb = getColorRegistry().getRGB(name);
                if (rgb == null)
                {
-                       StatusManager.getManager().handle(new Status(IStatus.ERROR, "net.mograsim.plugin.core", "No color for name " + name));
+                       StatusManager.getManager().handle(new Status(IStatus.ERROR, MograsimActivator.PLUGIN_ID, "No color for name " + name));
                        return null;
                }
                return new ColorDefinition(rgb.red, rgb.green, rgb.blue);