]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.maps/src/org/simantics/maps/sg/commands/MapCommands.java
Trying to get map background coloring to work
[simantics/district.git] / org.simantics.district.maps / src / org / simantics / maps / sg / commands / MapCommands.java
diff --git a/org.simantics.district.maps/src/org/simantics/maps/sg/commands/MapCommands.java b/org.simantics.district.maps/src/org/simantics/maps/sg/commands/MapCommands.java
new file mode 100644 (file)
index 0000000..540eabd
--- /dev/null
@@ -0,0 +1,14 @@
+package org.simantics.maps.sg.commands;
+
+import java.awt.Color;
+
+import org.simantics.scenegraph.g2d.events.command.Command;
+import org.simantics.utils.datastructures.hints.IHintContext.Key;
+import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;
+
+public final class MapCommands {
+
+    public static final Key KEY_MAP_BACKGROUND_COLOR = new KeyOf(Color.class, "MAP_BACKGROUND_COLOR");
+    public static final Command MAP_BACKGROUND_COLOR_CHANGE = new Command("changeMapBackgroundColorChange");
+
+}