Author: kono
Date: 2010-09-15 10:23:09 -0700 (Wed, 15 Sep 2010)
New Revision: 21864

Added:
   
core3/viewmodel-api/trunk/src/main/java/org/cytoscape/view/model/ThreeDVisualLexicon.java
Log:


Copied: 
core3/viewmodel-api/trunk/src/main/java/org/cytoscape/view/model/ThreeDVisualLexicon.java
 (from rev 21594, 
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/property/ThreeDVisualLexicon.java)
===================================================================
--- 
core3/viewmodel-api/trunk/src/main/java/org/cytoscape/view/model/ThreeDVisualLexicon.java
                           (rev 0)
+++ 
core3/viewmodel-api/trunk/src/main/java/org/cytoscape/view/model/ThreeDVisualLexicon.java
   2010-09-15 17:23:09 UTC (rev 21864)
@@ -0,0 +1,28 @@
+package org.cytoscape.view.model;
+
+import org.cytoscape.view.model.visualproperties.DoubleVisualProperty;
+
+public class ThreeDVisualLexicon extends TwoDVisualLexicon {
+
+       public static final VisualProperty<Double> NODE_Z_LOCATION = new 
DoubleVisualProperty(
+                       0.0, "NODE_Z_LOCATION", "Node Z Location", true);
+
+       public static final VisualProperty<Double> NODE_Z_SIZE = new 
DoubleVisualProperty(
+                       0.0, "NODE_Z_SIZE", "Node z size (depth)");
+
+       public static final VisualProperty<Double> NETWORK_CENTER_Z_LOCATION = 
new DoubleVisualProperty(
+                       0.0, "NETWORK_CENTER_Z_LOCATION", "Network Center Z 
Location");
+
+       public static final VisualProperty<Double> NETWORK_DEPTH = new 
DoubleVisualProperty(
+                       0.0, "NETWORK_DEPTH", "Network Depth");
+
+       public ThreeDVisualLexicon() {
+               super();
+
+               insertVisualProperty(NODE_Z_LOCATION, NODE_LOCATION);
+               insertVisualProperty(NODE_Z_SIZE, NODE_SIZE);
+               insertVisualProperty(NETWORK_CENTER_Z_LOCATION, 
NETWORK_CENTER_LOCATION);
+               insertVisualProperty(NETWORK_DEPTH, NETWORK_SIZE);
+
+       }
+}

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to