Author: clopes
Date: 2012-05-08 13:24:28 -0700 (Tue, 08 May 2012)
New Revision: 29153

Modified:
   
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DGraphView.java
Log:
Removed "VIEW" network tables again

Modified: 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DGraphView.java
===================================================================
--- 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DGraphView.java
     2012-05-08 20:04:00 UTC (rev 29152)
+++ 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DGraphView.java
     2012-05-08 20:24:28 UTC (rev 29153)
@@ -460,17 +460,8 @@
                this.cyNodeViewContextMenuFactory = 
vtfl.cyNodeViewContexMenuFactory;
                
                this.manager = manager;
-
                this.cyEventHelper = cyEventHelper;
 
-               final CyTable nodeCAM = dataFactory.createTable("node view", 
CyIdentifiable.SUID, Long.class, false, false);
-               nodeCAM.createColumn("hidden", Boolean.class, false);
-               tableMgr.setTable(model, CyNode.class, "VIEW", nodeCAM);
-
-               final CyTable edgeCAM = dataFactory.createTable("edge view", 
CyIdentifiable.SUID, Long.class, false, false);
-               edgeCAM.createColumn("hidden", Boolean.class, false);
-               tableMgr.setTable(model, CyEdge.class, "VIEW", edgeCAM);
-
                // creating empty subnetworks
                m_drawPersp = cyRoot.getRootNetwork(model).addSubNetwork();
                cyEventHelper.silenceEventSource(m_drawPersp);
@@ -1356,7 +1347,6 @@
                        synchronized (m_lock) {
                                edge = ((DEdgeView) obj).getEdge();
 
-                               model.getRow(edge,"VIEW").set("hidden", true);
                                if 
(!m_drawPersp.removeEdges(Collections.singletonList(edge)))
                                        return false;
 
@@ -1403,7 +1393,6 @@
                                nView.m_hiddenXMax = m_extentsBuff[2];
                                nView.m_hiddenYMax = m_extentsBuff[3];
                                
m_drawPersp.removeNodes(Collections.singletonList(nnode));
-                               model.getRow(nnode,"VIEW").set("hidden", true);
                                m_spacial.delete(nodeInx);
                                m_contentChanged = true;
                        }
@@ -1467,7 +1456,6 @@
                                        return false;
                                }
 
-                               model.getRow(nnode,"VIEW").set("hidden", false);
                                if (!m_drawPersp.addNode(nnode))
                                        return false;
 
@@ -1517,7 +1505,6 @@
 
                                newEdge = edge;
 
-                               model.getRow(newEdge,"VIEW").set("hidden", 
false);
                                if (!m_drawPersp.addEdge(newEdge))
                                        return false;
 

-- 
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