Author: ruschein
Date: 2011-06-22 09:29:03 -0700 (Wed, 22 Jun 2011)
New Revision: 25877
Modified:
core3/table-browser-impl/trunk/pom.xml
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/CyTableProjection.java
Log:
Updated to track changes in CyTable.
Modified: core3/table-browser-impl/trunk/pom.xml
===================================================================
--- core3/table-browser-impl/trunk/pom.xml 2011-06-22 15:19:58 UTC (rev
25876)
+++ core3/table-browser-impl/trunk/pom.xml 2011-06-22 16:29:03 UTC (rev
25877)
@@ -3,7 +3,7 @@
<parent>
<groupId>org.cytoscape</groupId>
<artifactId>parent</artifactId>
- <version>3.0.0-alpha7</version>
+ <version>3.0.0-alpha8-SNAPSHOT</version>
</parent>
<properties>
@@ -94,17 +94,17 @@
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>service-util</artifactId>
- <version>3.0.0-alpha1</version>
+ <version>3.0.0-alpha3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>equations-api</artifactId>
- <version>3.0.0-alpha2</version>
+ <version>3.0.0-alpha3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-util</artifactId>
- <version>3.0.0-alpha2</version>
+ <version>3.0.0-alpha3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
@@ -114,17 +114,22 @@
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>core-task-api</artifactId>
- <version>3.0.0-alpha3</version>
+ <version>3.0.0-alpha4-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-swing-api</artifactId>
- <version>3.0.0-alpha2</version>
+ <version>3.0.0-alpha3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>session-api</artifactId>
<version>3.0.0-alpha4-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.cytoscape</groupId>
+ <artifactId>io-api</artifactId>
+ <version>3.0.0-alpha5-SNAPSHOT</version>
+ </dependency>
</dependencies>
</project>
Modified:
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/CyTableProjection.java
===================================================================
---
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/CyTableProjection.java
2011-06-22 15:19:58 UTC (rev 25876)
+++
core3/table-browser-impl/trunk/src/main/java/org/cytoscape/browser/internal/CyTableProjection.java
2011-06-22 16:29:03 UTC (rev 25877)
@@ -44,9 +44,10 @@
* (This view is only immutable when going through the methods of this class!)
*/
public final class CyTableProjection implements CyTable {
- final CyTable underlyingTable;
- final Set<String> columnNames;
- final Set<Object> primaryKeys;
+ private final CyTable underlyingTable;
+ private final Set<String> columnNames;
+ private final Set<Object> primaryKeys;
+ private SavePolicy savePolicy;
/**
* @param underlyingTable the reference table that we forward
operations to.
@@ -296,4 +297,18 @@
{
throw new UnsupportedOperationException("addVirtualColumn()
method not supported!");
}
+
+ /**
+ * Returns how (or if) this CyTable should be saved.
+ * @return how (or if) this CyTable should be saved.
+ */
+ public SavePolicy getSavePolicy() { return savePolicy; }
+
+ /**
+ * Sets how (or if) this CyTable should be saved.
+ * @param policy the policy to follow during the lifecycle of the
CyTable.
+ */
+ public void setSavePolicy(final SavePolicy policy) {
+ savePolicy = policy;
+ }
}
--
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.