--- /dev/null
+package org.simantics.interop.mapping;\r
+\r
+import java.awt.geom.Point2D;\r
+import java.util.Collection;\r
+import java.util.Map;\r
+\r
+import org.simantics.db.Resource;\r
+import org.simantics.interop.mapping.data.GraphNode;\r
+import org.simantics.utils.datastructures.MapList;\r
+import org.simantics.utils.datastructures.hints.IHintContext.Key;\r
+import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;\r
+\r
+\r
+public class MappingHints {\r
+\r
+ // type of symbol to be created.\r
+ public static final Key KEY_GENERATE_TYPE = new KeyOf(Resource.class); \r
+ \r
+ // Module Resolver (symbol type and terminals)\r
+ public static final Key KEY_RESOLVER = new KeyOf(ModuleResolver.class); \r
+ \r
+ // generated symbol.\r
+ //public static final Key KEY_GENERATED_SYMBOL = new KeyOf(Symbol.class); \r
+ \r
+ public static final Key KEY_GENERATION_RULES = new KeyOf(MapList.class); // Generation Rules <Integer,GenerationRule>\r
+ \r
+ //public static final Key KEY_DIAGRAM = new KeyOf(Diagram.class); // Diagram where node's symbol(s) are generated.\r
+ public static final Key KEY_PATH_DIAGRAM = new KeyOf(Map.class); // Diagram where node's symbol(s) by path are generated. <String,Diagram>\r
+ public static final Key KEY_PARENT_NODE = new KeyOf(GraphNode.class); // Parent Node (device) used with automation symbols. <Identifiable>\r
+ public static final Key KEY_CHILD_NODE = new KeyOf(Collection.class); // Child Node (device). <GraphNode<Identifiable>>\r
+ \r
+ public static final Key KEY_CONNECTION_TERMINAL = new KeyOf(Resource.class); // Connection terminal (in Apros symbol) \r
+ \r
+ public static final Key KEY_CONNECTION_TYPE = new KeyOf(String.class); // Connection Type\r
+ public static final Key KEY_CONNECTION_LABEL = new KeyOf(String.class);\r
+ public static final Key KEY_CONNECTION_NOT = new KeyOf(Boolean.class); // Is inverse (Binary signal)\r
+ \r
+ \r
+ public static final Key KEY_FLAG_POSITION = new KeyOf(Point2D.class);\r
+ public static final Key KEY_FLAG_NAME = new KeyOf(String.class);\r
+ \r
+ \r
+ public static final Key KEY_SPLIT_NAME = new KeyOf(String.class);\r
+ public static final Key KEY_SPLIT_COUNT = new KeyOf(Integer.class);\r
+ public static final Key KEY_SPLIT_PERCENTAGE = new KeyOf(Double.class);\r
+ \r
+ \r
+}\r