Author: abeld
Date: 2009-03-15 04:24:52 -0700 (Sun, 15 Mar 2009)
New Revision: 16264

Modified:
   
core3/viewmodel-impl/trunk/src/main/java/org/cytoscape/view/model/internal/VisualPropertyCatalogImpl.java
Log:
fix 'visalPropertySet' typo

Modified: 
core3/viewmodel-impl/trunk/src/main/java/org/cytoscape/view/model/internal/VisualPropertyCatalogImpl.java
===================================================================
--- 
core3/viewmodel-impl/trunk/src/main/java/org/cytoscape/view/model/internal/VisualPropertyCatalogImpl.java
   2009-03-13 21:02:24 UTC (rev 16263)
+++ 
core3/viewmodel-impl/trunk/src/main/java/org/cytoscape/view/model/internal/VisualPropertyCatalogImpl.java
   2009-03-15 11:24:52 UTC (rev 16264)
@@ -54,14 +54,14 @@
 
        // Map of visal properties. This object will be updated dynamically by
        // listeners
-       private final Set<VisualProperty<?>> visalPropertySet;
+       private final Set<VisualProperty<?>> visualPropertySet;
 
        /**
         * Constructor. Just initializes collections for currently available
         * renderers and VPs
         */
        public VisualPropertyCatalogImpl() {
-               visalPropertySet = new HashSet<VisualProperty<?>>();
+               visualPropertySet = new HashSet<VisualProperty<?>>();
        }
 
        /**
@@ -94,7 +94,7 @@
         * @return DOCUMENT ME!
         */
        public VisualProperty<?> getVisualProperty(final String name) {
-               for (VisualProperty<?> vp : visalPropertySet) {
+               for (VisualProperty<?> vp : visualPropertySet) {
                        if (vp.getID().equals(name)) {
                                return vp;
                        }
@@ -171,24 +171,24 @@
                        final Collection<? extends View<?>> views, final String 
objectType) {
 
                if (views == null)
-                       return filterForObjectType(visalPropertySet, 
objectType);
+                       return filterForObjectType(visualPropertySet, 
objectType);
 
                // System.out.println("making list of VisualProperties in 
use:");
                final Set<VisualProperty<?>> toRemove = new 
HashSet<VisualProperty<?>>();
 
                /* apply DependentVisualPropertyCallbacks */
-               for (VisualProperty<?> vp : visalPropertySet) {
+               for (VisualProperty<?> vp : visualPropertySet) {
                        final DependentVisualPropertyCallback callback = vp
                                        .dependentVisualPropertyCallback();
 
                        if (callback != null) {
-                               toRemove.addAll(callback.changed(views, 
visalPropertySet));
+                               toRemove.addAll(callback.changed(views, 
visualPropertySet));
                        }
                }
 
                // System.out.println("removing:"+toRemove.size());
                final Set<VisualProperty<?>> result = new 
HashSet<VisualProperty<?>>(
-                               visalPropertySet);
+                               visualPropertySet);
                result.removeAll(toRemove);
 
                // System.out.println("len of result:"+result.size());
@@ -216,11 +216,11 @@
        @SuppressWarnings("unchecked")
        public void addRenderer(Renderer renderer, Map props) {
                System.out.println("====> Renderer bound: " + 
renderer.toString());
-               this.visalPropertySet.addAll(renderer.getVisualProperties());
+               this.visualPropertySet.addAll(renderer.getVisualProperties());
        }
 
        @SuppressWarnings("unchecked")
        public void removeRenderer(Renderer renderer, Map props) {
-               this.visalPropertySet.removeAll(renderer.getVisualProperties());
+               
this.visualPropertySet.removeAll(renderer.getVisualProperties());
        }
 }


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