Author: pwang
Date: 2011-02-15 16:17:48 -0800 (Tue, 15 Feb 2011)
New Revision: 24143
Added:
csplugins/trunk/ucsd/pwang/cy3samples/sample02/src/main/java/org/cytoscape/sample/internal/LoadAttributeDataAction.java
csplugins/trunk/ucsd/pwang/cy3samples/sample11/osgi.bnd
csplugins/trunk/ucsd/pwang/cy3samples/sample11/pom.xml
Log:
Original creation
Added:
csplugins/trunk/ucsd/pwang/cy3samples/sample02/src/main/java/org/cytoscape/sample/internal/LoadAttributeDataAction.java
===================================================================
---
csplugins/trunk/ucsd/pwang/cy3samples/sample02/src/main/java/org/cytoscape/sample/internal/LoadAttributeDataAction.java
(rev 0)
+++
csplugins/trunk/ucsd/pwang/cy3samples/sample02/src/main/java/org/cytoscape/sample/internal/LoadAttributeDataAction.java
2011-02-16 00:17:48 UTC (rev 24143)
@@ -0,0 +1,53 @@
+package org.cytoscape.sample.internal;
+
+import java.awt.event.ActionEvent;
+
+import org.cytoscape.application.swing.AbstractCyAction;
+import org.cytoscape.application.swing.CySwingApplication;
+import org.cytoscape.application.swing.CytoPanel;
+import org.cytoscape.application.swing.CytoPanelName;
+import org.cytoscape.application.swing.CytoPanelState;
+import org.cytoscape.session.CyApplicationManager;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import org.cytoscape.application.swing.CytoPanelComponent;
+
+public class LoadAttributeDataAction extends AbstractCyAction {
+
+ private CySwingApplication desktopApp;
+
+ public LoadAttributeDataAction(CyApplicationManager appMgr,
CySwingApplication desktopApp){
+ super("sample11...", appMgr);
+ setPreferredMenu("File.Import");
+
+ this.desktopApp = desktopApp;
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @param e DOCUMENT ME!
+ */
+ public void actionPerformed(ActionEvent e) {
+
+
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @return DOCUMENT ME!
+ */
+ public boolean isInToolBar() {
+ return false;
+ }
+
+ /**
+ * DOCUMENT ME!
+ *
+ * @return DOCUMENT ME!
+ */
+ public boolean isInMenuBar() {
+ return true;
+ }
+}
Added: csplugins/trunk/ucsd/pwang/cy3samples/sample11/osgi.bnd
===================================================================
--- csplugins/trunk/ucsd/pwang/cy3samples/sample11/osgi.bnd
(rev 0)
+++ csplugins/trunk/ucsd/pwang/cy3samples/sample11/osgi.bnd 2011-02-16
00:17:48 UTC (rev 24143)
@@ -0,0 +1,6 @@
+#-----------------------------------------------------------------
+# Use this file to add customized Bnd instructions for the bundle
+#-----------------------------------------------------------------
+
+Import-Package: *
+Private-Package: ${bundle.namespace}.internal.*
Added: csplugins/trunk/ucsd/pwang/cy3samples/sample11/pom.xml
===================================================================
--- csplugins/trunk/ucsd/pwang/cy3samples/sample11/pom.xml
(rev 0)
+++ csplugins/trunk/ucsd/pwang/cy3samples/sample11/pom.xml 2011-02-16
00:17:48 UTC (rev 24143)
@@ -0,0 +1,115 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.cytoscape</groupId>
+ <version>3.0.0-alpha4</version>
+ </parent>
+
+ <properties>
+ <bundle.symbolicName>sample11</bundle.symbolicName>
+ <bundle.namespace>org.cytoscape.sample</bundle.namespace>
+ </properties>
+
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.cytoscape</groupId>
+ <artifactId>sample11</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+
+ <name>${bundle.symbolicName}</name>
+
+ <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>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <!-- | example additional resource entries, useful when
building Eclipse
+ RCP applications -->
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>plugin.properties</include>
+ <include>icons/**</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.ops4j</groupId>
+ <artifactId>maven-pax-plugin</artifactId>
+ <version>1.4</version>
+ <!-- | enable improved OSGi compilation support
for the bundle life-cycle.
+ | to switch back to the standard bundle
life-cycle, move this setting | down
+ to the maven-bundle-plugin section -->
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>1.4.3</version>
+ <!-- | the following instructions build a
simple set of public/private
+ classes into an OSGi bundle -->
+ <configuration>
+ <instructions>
+
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
+
<Bundle-Version>${pom.version}</Bundle-Version>
+ <_include>-osgi.bnd</_include>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.cytoscape</groupId>
+ <artifactId>swing-application-api</artifactId>
+ <version>3.0.0-alpha2-SNAPSHOT</version>
+ </dependency>
+
+<!--
+ <dependency>
+ <groupId>org.cytoscape</groupId>
+ <artifactId>work-swing-api</artifactId>
+ <version>3.0.0-alpha1</version>
+ </dependency>
+ -->
+ <dependency>
+ <groupId>org.cytoscape</groupId>
+ <artifactId>work-api</artifactId>
+ <version>3.0.0-alpha3-SNAPSHOT</version>
+ </dependency>
+
+
+ </dependencies>
+
+</project>
\ 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.