Author: mes
Date: 2011-06-21 15:36:58 -0700 (Tue, 21 Jun 2011)
New Revision: 25848
Modified:
core3/vizmap-impl/trunk/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualMappingManagerImpl.java
core3/vizmap-impl/trunk/pom.xml
Log:
updated to for event-api changes that rely on payload events instead of
microlisteners
Modified:
core3/vizmap-impl/trunk/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualMappingManagerImpl.java
===================================================================
---
core3/vizmap-impl/trunk/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualMappingManagerImpl.java
2011-06-21 22:36:12 UTC (rev 25847)
+++
core3/vizmap-impl/trunk/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualMappingManagerImpl.java
2011-06-21 22:36:58 UTC (rev 25848)
@@ -177,9 +177,7 @@
}
}
- cyEventHelper
- .fireSynchronousEvent(new
VisualStyleAboutToBeRemovedEvent(
- this, vs));
+ cyEventHelper.fireEvent(new
VisualStyleAboutToBeRemovedEvent(this, vs));
visualStyles.remove(vs);
vs = null;
}
@@ -193,7 +191,7 @@
@Override
public void addVisualStyle(final VisualStyle vs) {
this.visualStyles.add(vs);
- cyEventHelper.fireSynchronousEvent(new
VisualStyleAddedEvent(this, vs));
+ cyEventHelper.fireEvent(new VisualStyleAddedEvent(this, vs));
}
/**
Modified: core3/vizmap-impl/trunk/pom.xml
===================================================================
--- core3/vizmap-impl/trunk/pom.xml 2011-06-21 22:36:12 UTC (rev 25847)
+++ core3/vizmap-impl/trunk/pom.xml 2011-06-21 22:36:58 UTC (rev 25848)
@@ -89,13 +89,13 @@
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>event-api</artifactId>
- <version>3.0.0-alpha3</version>
+ <version>3.0.0-alpha6-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>model-api</artifactId>
- <version>3.0.0-alpha3</version>
+ <version>3.0.0-alpha5-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
--
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.