Author: mes
Date: 2010-07-21 15:02:12 -0700 (Wed, 21 Jul 2010)
New Revision: 20984

Modified:
   core3/plugin-api/trunk/pom.xml
   
core3/plugin-api/trunk/src/main/java/org/cytoscape/plugin/CyPluginAdapter.java
Log:
added several new getters

Modified: core3/plugin-api/trunk/pom.xml
===================================================================
--- core3/plugin-api/trunk/pom.xml      2010-07-21 19:45:23 UTC (rev 20983)
+++ core3/plugin-api/trunk/pom.xml      2010-07-21 22:02:12 UTC (rev 20984)
@@ -114,6 +114,31 @@
                        <artifactId>work-api</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>vizmap-api</artifactId>
+                       <version>1.0-SNAPSHOT</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>vizmap-gui-api</artifactId>
+                       <version>1.0-SNAPSHOT</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>session-api</artifactId>
+                       <version>1.0-SNAPSHOT</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>presentation-api</artifactId>
+                       <version>1.0-SNAPSHOT</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>layout-api</artifactId>
+                       <version>1.0-SNAPSHOT</version>
+               </dependency>
        </dependencies>
 
 </project>

Modified: 
core3/plugin-api/trunk/src/main/java/org/cytoscape/plugin/CyPluginAdapter.java
===================================================================
--- 
core3/plugin-api/trunk/src/main/java/org/cytoscape/plugin/CyPluginAdapter.java  
    2010-07-21 19:45:23 UTC (rev 20983)
+++ 
core3/plugin-api/trunk/src/main/java/org/cytoscape/plugin/CyPluginAdapter.java  
    2010-07-21 22:02:12 UTC (rev 20984)
@@ -1,16 +1,35 @@
 package org.cytoscape.plugin;
 
 import org.cytoscape.model.CyNetworkFactory;
+import org.cytoscape.model.subnetwork.CyRootNetworkFactory;
 import org.cytoscape.model.CyDataTableFactory;
+import org.cytoscape.event.CyEventHelper;
 import org.cytoscape.view.model.CyNetworkViewFactory;
+import org.cytoscape.view.layout.CyLayouts;
+import org.cytoscape.view.presentation.PresentationFactory;
+import org.cytoscape.view.vizmap.VisualMappingManager;
+import org.cytoscape.view.vizmap.gui.editor.EditorManager;
+import org.cytoscape.session.CyNetworkManager;
+import org.cytoscape.session.CySessionManager;
 import org.cytoscape.work.TaskManager;
 
 
 /**
  * A Java-only api providing access to Cytoscape functionality.
+ * This class will provide access the various Manager and 
+ * Factory interfaces defined in different API jars that are
+ * normally made available to plugins as OSGi services. Through
+ * these interfaces developers will have access to most management
+ * and creational facilities defined in the Cytoscape API.
+ * This is a convenience interface intended make plugin development
+ * as simple as possible.
  */
 public interface CyPluginAdapter {
 
+       //
+       // model api
+       //
+
        /**
         * Returns an instance of {...@link CyNetworkFactory}.
         * @return an instance of {...@link CyNetworkFactory}.
@@ -24,14 +43,92 @@
        CyDataTableFactory getCyDataTableFactory(); 
 
        /**
+        * Returns an instance of {...@link CyRootNetworkFactory}.
+        * @return an instance of {...@link CyRootNetworkFactory}.
+        */
+       CyRootNetworkFactory getCyRootNetworkFactory(); 
+
+       /**
+        * Returns an instance of {...@link CyEventHelper}.
+        * @return an instance of {...@link CyEventHelper}.
+        */
+       CyEventHelper getCyEventHelper(); 
+
+       //
+       // viewmodel api
+       //
+
+       /**
         * Returns an instance of {...@link CyNetworkViewFactory}.
         * @return an instance of {...@link CyNetworkViewFactory}.
         */
        CyNetworkViewFactory getCyNetworkViewFactory();
 
+       //
+       // session api
+       //
+
        /**
+        * Returns an instance of {...@link CyNetworkManager}.
+        * @return an instance of {...@link CyNetworkManager}.
+        */
+       CyNetworkManager getCyNetworkManager();
+
+       /**
+        * Returns an instance of {...@link CySessionManager}.
+        * @return an instance of {...@link CySessionManager}.
+        */
+       CySessionManager getCySessionManager();
+
+       //
+       // work api
+       //
+
+       /**
         * Returns an instance of {...@link TaskManager}.
         * @return an instance of {...@link TaskManager}.
         */
        TaskManager getTaskManager();
+
+       //
+       // presentation api
+       //
+
+       /**
+        * Returns an instance of {...@link PresentationFactory}.
+        * @return an instance of {...@link PresentationFactory}.
+        */
+       PresentationFactory getPresentationFactory();
+
+       //
+       // vizmap api
+       //
+
+       /**
+        * Returns an instance of {...@link VisualMappingManager}.
+        * @return an instance of {...@link VisualMappingManager}.
+        */
+       VisualMappingManager getVisualMappingManager();
+
+
+       //
+       // vizmap-gui api
+       //
+
+       /**
+        * Returns an instance of {...@link EditorManager}.
+        * @return an instance of {...@link EditorManager}.
+        */
+       EditorManager getEditorManager();
+
+       //
+       // layout api
+       //
+
+       /**
+        * Returns an instance of {...@link CyLayouts}.
+        * @return an instance of {...@link CyLayouts}.
+        */
+       CyLayouts getCyLayouts();
+
 }

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