Author: mes
Date: 2009-12-10 13:54:25 -0800 (Thu, 10 Dec 2009)
New Revision: 18719

Modified:
   cytoscape/trunk/src/cytoscape/visual/ui/VizMapperMainPanel.java
Log:
minor formatting issues

Modified: cytoscape/trunk/src/cytoscape/visual/ui/VizMapperMainPanel.java
===================================================================
--- cytoscape/trunk/src/cytoscape/visual/ui/VizMapperMainPanel.java     
2009-12-10 21:53:57 UTC (rev 18718)
+++ cytoscape/trunk/src/cytoscape/visual/ui/VizMapperMainPanel.java     
2009-12-10 21:54:25 UTC (rev 18719)
@@ -2386,7 +2386,6 @@
                        
propertyMap.get(vmm.getVisualStyle().getName()).add(newRootProp);
                }
 
-               // vmm.getNetworkView().redrawGraph(false, true);
                Cytoscape.getCurrentNetworkView().redrawGraph(false, true);
                parent = null;
        }
@@ -2562,7 +2561,6 @@
                        }
 
                        vmm.setNetworkView(Cytoscape.getCurrentNetworkView());
-                       //Cytoscape.getCurrentNetworkView().redrawGraph(false, 
true);
                        switchVS(name);
                }
        }
@@ -2693,7 +2691,6 @@
 
                                vmm.setVisualStyle(currentStyle);
                                
vmm.getNetworkView().setVisualStyle(currentStyle.getName());
-                               // vmm.getNetworkView().redrawGraph(false, 
true);
                                
Cytoscape.getCurrentNetworkView().redrawGraph(false, true);
                        }
                }
@@ -3861,7 +3858,9 @@
                        // if attribute is not in attrEditorNames, add it if we 
support its type
                        if (!attrEditorNames.contains(attributeName)) {
                                byte type = attr.getType(attributeName);
-                               if (attr.getUserVisible(attributeName) && (type 
!= CyAttributes.TYPE_UNDEFINED) && (type != CyAttributes.TYPE_COMPLEX)) {
+                               if (attr.getUserVisible(attributeName) && 
+                                   (type != CyAttributes.TYPE_UNDEFINED) && 
+                                   (type != CyAttributes.TYPE_COMPLEX)) {
                                        attrEditorNames.add(attributeName);
                                        Collections.sort(attrEditorNames);
                                        
attrEditor.setAvailableValues(attrEditorNames.toArray());
@@ -3948,7 +3947,9 @@
                        Class dataClass;
                        for (String name : nameArray) {
                                type = attr.getType(name);
-                               if (attr.getUserVisible(name) && (type != 
CyAttributes.TYPE_UNDEFINED) && (type != CyAttributes.TYPE_COMPLEX)) {
+                               if (attr.getUserVisible(name) && 
+                                   (type != CyAttributes.TYPE_UNDEFINED) && 
+                                       (type != CyAttributes.TYPE_COMPLEX)) {
                                        attrEditorNames.add(name);
                                }
                                dataClass = CyAttributesUtils.getClass(name, 
attr);

--

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