Author: ruschein
Date: 2010-11-22 15:35:03 -0800 (Mon, 22 Nov 2010)
New Revision: 22984

Added:
   core3/table-browser-impl/
   core3/table-browser-impl/trunk/
   core3/table-browser-impl/trunk/osgi.bnd
   core3/table-browser-impl/trunk/pom.xml
   core3/table-browser-impl/trunk/src/
   core3/table-browser-impl/trunk/src/main/
   core3/table-browser-impl/trunk/src/main/java/
   core3/table-browser-impl/trunk/src/main/java/org/
   core3/table-browser-impl/trunk/src/main/java/org/cytoscape/
   core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/
   core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/
   
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
Log:
Browser skeleton.


Added: core3/table-browser-impl/trunk/osgi.bnd
===================================================================
--- core3/table-browser-impl/trunk/osgi.bnd                             (rev 0)
+++ core3/table-browser-impl/trunk/osgi.bnd     2010-11-22 23:35:03 UTC (rev 
22984)
@@ -0,0 +1,8 @@
+#-----------------------------------------------------------------
+# Use this file to add customized Bnd instructions for the bundle
+#-----------------------------------------------------------------
+
+
+Spring-Context: META-INF/spring/*.xml
+Private-Package: org.cytoscape.browser.internal.*
+

Added: core3/table-browser-impl/trunk/pom.xml
===================================================================
--- core3/table-browser-impl/trunk/pom.xml                              (rev 0)
+++ core3/table-browser-impl/trunk/pom.xml      2010-11-22 23:35:03 UTC (rev 
22984)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";
+       xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+       <parent>
+               <groupId>org.cytoscape</groupId>
+               <artifactId>parent</artifactId>
+               <version>3.0.0-alpha4-SNAPSHOT</version>
+       </parent>
+
+       <properties>
+               
<bundle.symbolicName>org.cytoscape.table-brwoser-impl</bundle.symbolicName>
+               <bundle.namespace>org.cytoscape.internal</bundle.namespace>
+       </properties>
+
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.cytoscape</groupId>
+       <artifactId>table-browser-impl</artifactId>
+       <version>1.0-SNAPSHOT</version>
+       <name>Cytoscape Table Browser Implementation</name>
+       <packaging>bundle</packaging>
+
+       <scm>
+               
<connection>scm:svn:http://chianti.ucsd.edu/svn/core3/swing-application-impl/trunk</connection>
+               
<developerConnection>scm:svn:svn+ssh://grenache.ucsd.edu/cellar/common/svn/core3/swing-application-impl/trunk</developerConnection>
+               
<url>http://chianti.ucsd.edu/svn/core3/swing-application-impl/trunk</url>
+       </scm>
+
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+               </resources>
+               <plugins>
+                       <plugin>
+                               <groupId>org.ops4j</groupId>
+                               <artifactId>maven-pax-plugin</artifactId>
+                               <version>1.4</version>
+                               <extensions>true</extensions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <version>1.4.3</version>
+                               <configuration>
+                                       <instructions>
+                                               
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+                                               
<Bundle-Version>${pom.version}</Bundle-Version>
+                                               <_include>-osgi.bnd</_include>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <repositories>
+               <!-- bootstrap for cytoscape dependencies, namely the parent 
POM snapshots -->
+               <repository>
+                       <id>cytoscape_snapshots</id>
+                       <snapshots>
+                               <enabled>true</enabled>
+                       </snapshots>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+                       <name>Cytoscape Snapshots</name>
+                       
<url>http://cytoscape.wodaklab.org/nexus/content/repositories/snapshots/</url>
+               </repository>
+               <!-- bootstrap for cytoscape dependencies, namely the parent 
POM releases -->
+               <repository>
+                       <id>cytoscape_releases</id>
+                       <snapshots>
+                               <enabled>false</enabled>
+                       </snapshots>
+                       <releases>
+                               <enabled>true</enabled>
+                       </releases>
+                       <name>Cytoscape Releases</name>
+                       
<url>http://cytoscape.wodaklab.org/nexus/content/repositories/releases/</url>
+               </repository>
+       </repositories>
+
+
+       <dependencies>
+               <dependency>
+                       <groupId>org.cytoscape</groupId>
+                       <artifactId>swing-application-api</artifactId>
+                       <version>1.0-SNAPSHOT</version>
+               </dependency>
+       </dependencies>
+</project>

Added: 
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
===================================================================
--- 
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
                               (rev 0)
+++ 
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/TableBrowser.java
       2010-11-22 23:35:03 UTC (rev 22984)
@@ -0,0 +1,38 @@
+package org.cytoscape.browser.internal;
+
+
+import java.awt.Component;
+import javax.swing.JPanel;
+import javax.swing.Icon;
+
+import org.cytoscape.application.swing.CytoPanelComponent;
+import org.cytoscape.application.swing.CytoPanelName;
+
+
+...@suppresswarnings("serial")
+public class TableBrowser extends JPanel implements CytoPanelComponent {
+       /**
+        * Returns the Component to be added to the CytoPanel. 
+        * @return The Component to be added to the CytoPanel. 
+        */
+       public Component getComponent() { return this; }
+
+       /**
+        * Returns the name of the CytoPanel that this component should be 
added to.
+        * @return the name of the CytoPanel that this component should be 
added to.
+        */
+       public CytoPanelName getCytoPanelName() {
+               return CytoPanelName.SOUTH;
+       }
+
+       /**
+        * Returns the title of the tab within the CytoPanel for this component.
+        * @return the title of the tab within the CytoPanel for this component.
+        */
+       public String getTitle() { return "Table Browser"; }
+
+       /**
+        * @return null
+        */
+       public Icon getIcon() { return null; }
+}
\ No newline at end of file

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