Author: ruschein
Date: 2011-02-03 11:48:55 -0800 (Thu, 03 Feb 2011)
New Revision: 24011
Modified:
core3/core-task-api/trunk/pom.xml
core3/core-task-api/trunk/src/main/java/org/cytoscape/task/table/MapNetworkAttrTask.java
Log:
Updated to track the current model-api.
Modified: core3/core-task-api/trunk/pom.xml
===================================================================
--- core3/core-task-api/trunk/pom.xml 2011-02-03 16:56:56 UTC (rev 24010)
+++ core3/core-task-api/trunk/pom.xml 2011-02-03 19:48:55 UTC (rev 24011)
@@ -101,7 +101,7 @@
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>viewmodel-api</artifactId>
- <version>3.0.0-alpha3-SNAPSHOT</version>
+ <version>3.0.0-alpha4-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
Modified:
core3/core-task-api/trunk/src/main/java/org/cytoscape/task/table/MapNetworkAttrTask.java
===================================================================
---
core3/core-task-api/trunk/src/main/java/org/cytoscape/task/table/MapNetworkAttrTask.java
2011-02-03 16:56:56 UTC (rev 24010)
+++
core3/core-task-api/trunk/src/main/java/org/cytoscape/task/table/MapNetworkAttrTask.java
2011-02-03 19:48:55 UTC (rev 24011)
@@ -63,12 +63,13 @@
if (newGlobalTable.getPrimaryKey().getType() != String.class)
throw new IllegalStateException("The new table's
primary key is not of type String!");
- final String sourceTableJoinColumn =
newGlobalTable.getPrimaryKey().getColumnName();
+ final String sourceTableJoinColumn =
newGlobalTable.getPrimaryKey().getName();
for (final CyTable targetTable : targetTables) {
if (cancelled)
return;
- targetTable.addVirtualColumns(newGlobalTable,
sourceTableJoinColumn, CyTableEntry.NAME);
+ targetTable.addVirtualColumns(newGlobalTable,
sourceTableJoinColumn,
+ CyTableEntry.NAME, false);
}
}
}
\ 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.