Author: paperwing
Date: 2012-02-13 16:30:30 -0800 (Mon, 13 Feb 2012)
New Revision: 28257

Modified:
   
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRenderer.java
   
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRendererManager.java
Log:
Minor updates to ExternalRenderer and ExternalRendererManager such as javadoc 
clarifications and changing the return type of the set of renderers to 
java.util.Collection from java.util.List

Modified: 
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRenderer.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRenderer.java
     2012-02-14 00:28:08 UTC (rev 28256)
+++ 
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRenderer.java
     2012-02-14 00:30:30 UTC (rev 28257)
@@ -51,7 +51,8 @@
        
        // Prepares the renderer to be removed.
        /**
-        * Notifies this renderer to release all its resources and prepare for 
removal.
+        * Notifies this renderer to release all its resources and prepare for 
removal. The renderer is allowed to become unuseable after this call,
+        * and should at least fail safely if asked to render anything else 
onwards.
         */
        public void dispose();
        

Modified: 
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRendererManager.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRendererManager.java
      2012-02-14 00:28:08 UTC (rev 28256)
+++ 
csplugins/trunk/toronto/yuedong/multi_renderer/api/presentation-api/src/main/java/org/cytoscape/view/presentation/ExternalRendererManager.java
      2012-02-14 00:30:30 UTC (rev 28257)
@@ -1,5 +1,6 @@
 package org.cytoscape.view.presentation;
 
+import java.util.Collection;
 import java.util.List;
 
 /**
@@ -33,7 +34,7 @@
         * 
         * @return A defensively copied list of the IDs of the currently 
installed renderers.
         */
-       public List<String> getInstalledRenderers();
+       public Collection<String> getInstalledRenderers();
        
        /**
         * Return the number of currently installed renderers.

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