Author: ruschein
Date: 2011-05-10 11:16:39 -0700 (Tue, 10 May 2011)
New Revision: 24998

Added:
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/META-INF/
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/META-INF/MANIFEST.MF
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/plugin/
   
csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/plugin/example/
   
csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/plugin/example/SamplePlugin.java
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/plugin.props
Removed:
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/SamplePlugin.java
Modified:
   csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/README.txt
Log:
First working example.

Added: csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/META-INF/MANIFEST.MF
===================================================================
--- csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/META-INF/MANIFEST.MF   
                        (rev 0)
+++ csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/META-INF/MANIFEST.MF   
2011-05-10 18:16:39 UTC (rev 24998)
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Archiver-Version: Plexus Archiver
+Created-By: Apache Maven
+Built-By: ruschein
+Build-Jdk: 1.6.0_24
+Cytoscape-Plugin: org.cytoscape.plugin.example.SamplePlugin

Modified: csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/README.txt
===================================================================
--- csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/README.txt     
2011-05-10 18:16:01 UTC (rev 24997)
+++ csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/README.txt     
2011-05-10 18:16:39 UTC (rev 24998)
@@ -1,3 +1,8 @@
-Compile the sample plugin with:
+1) Compile the sample plugin with:
 
-javac -cp cytoscape3-api.jar SamplePlugin.java
+   javac -cp cytoscape3-api.jar org/cytoscape/plugin/example/SamplePlugin.java
+
+2) Create the actual plugin jar with:
+
+   jar cfM SamplePlugin.jar META-INF/MANIFEST.MF 
org/cytoscape/plugin/example/*.class plugin.props
+

Deleted: csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/SamplePlugin.java
===================================================================
--- csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/SamplePlugin.java      
2011-05-10 18:16:01 UTC (rev 24997)
+++ csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/SamplePlugin.java      
2011-05-10 18:16:39 UTC (rev 24998)
@@ -1,14 +0,0 @@
-package org.cytoscape.plugin.example;
-
-
-import org.cytoscape.plugin.CyPluginAdapter;
-import org.cytoscape.plugin.CyPlugin;
-
-
-public class SamplePlugin extends CyPlugin {
-       public SamplePlugin(CyPluginAdapter a){
-               super(a);
-               
-//             a.getCySwingApplication().addAction(new Sample02aAction(a));
-       }
-}

Copied: 
csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/plugin/example/SamplePlugin.java
 (from rev 24983, 
csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/SamplePlugin.java)
===================================================================
--- 
csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/plugin/example/SamplePlugin.java
                         (rev 0)
+++ 
csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/org/cytoscape/plugin/example/SamplePlugin.java
 2011-05-10 18:16:39 UTC (rev 24998)
@@ -0,0 +1,14 @@
+package org.cytoscape.plugin.example;
+
+
+import org.cytoscape.plugin.CyPluginAdapter;
+import org.cytoscape.plugin.CyPlugin;
+
+
+public class SamplePlugin extends CyPlugin {
+       public SamplePlugin(CyPluginAdapter a){
+               super(a);
+               System.err.println("Hello plugin world!");
+//             a.getCySwingApplication().addAction(new Sample02aAction(a));
+       }
+}

Added: csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/plugin.props
===================================================================
--- csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/plugin.props           
                (rev 0)
+++ csplugins/trunk/ucsd/ruschein/SimpleCytoscape3Plugin/plugin.props   
2011-05-10 18:16:39 UTC (rev 24998)
@@ -0,0 +1,26 @@
+# This props file would be filled out and included in the plugin jar file.  
+# This props file will be used  to put information into the Plugin Manager 
+# about the plugin 
+
+# -- The following properties are REQUIRED -- #
+
+# The plugin name that will be displayed to users
+pluginName=SimplePlugin
+
+# Description used to give users information about the plugin such as what it 
does.  
+# Html tags are encouraged for formatting purposes.
+pluginDescription=Example Plugin
+
+# Plugin version number, this must be two numbers separated by a decimal.  Ex. 
0.2, 14.03
+pluginVersion=0.1
+
+# Compatible Cytoscape version
+cytoscapeVersion=3.0
+
+# Category, use one of the categories listed on the website or create your own
+pluginCategory=Other
+
+# List of authors.  Note each author and institution pair are separated by a : 
(colon)
+# each additional author institution pair must be separated from other pairs 
bye a ; (semicolon)
+pluginAuthorsIntsitutions=Johannes Ruscheinski:UCSD
+

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