Author: kono
Date: 2009-04-28 13:15:56 -0700 (Tue, 28 Apr 2009)
New Revision: 16694

Added:
   
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/Renderer.java
Log:
Renderer interface for pluggable renderer.

Added: 
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/Renderer.java
===================================================================
--- 
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/Renderer.java
    2009-04-28 05:11:13 UTC (rev 16693)
+++ 
core3/presentation-api/trunk/src/main/java/org/cytoscape/view/presentation/Renderer.java
    2009-04-28 20:15:56 UTC (rev 16694)
@@ -0,0 +1,20 @@
+package org.cytoscape.view.presentation;
+
+import java.util.Collection;
+
+import org.cytoscape.view.model.VisualProperty;
+
+
+/**
+ * A function to draw a given network object.
+ * Will be used by pluggable-renderer
+ * 
+ */
+public interface Renderer {
+       /**
+        * Return a list of visual attributes this renderer can use
+        */
+       public Collection<VisualProperty<?>> supportedVisualProperties();
+       
+       public String getName();
+}


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