Author: kono
Date: 2010-10-28 11:01:42 -0700 (Thu, 28 Oct 2010)
New Revision: 22545
Modified:
core3/vizmap-api/trunk/src/main/java/org/cytoscape/view/vizmap/events/VisualStyleRemovedEvent.java
Log:
Fixed wrong data type for event source.
Modified:
core3/vizmap-api/trunk/src/main/java/org/cytoscape/view/vizmap/events/VisualStyleRemovedEvent.java
===================================================================
---
core3/vizmap-api/trunk/src/main/java/org/cytoscape/view/vizmap/events/VisualStyleRemovedEvent.java
2010-10-28 15:14:32 UTC (rev 22544)
+++
core3/vizmap-api/trunk/src/main/java/org/cytoscape/view/vizmap/events/VisualStyleRemovedEvent.java
2010-10-28 18:01:42 UTC (rev 22545)
@@ -42,7 +42,7 @@
* This event will be fired when {...@linkplain VisualStyle} object is deleted
from
* {...@linkplain VisualMappingManager}.
*/
-public final class VisualStyleRemovedEvent extends
AbstractCyEvent<VisualMappingManager> {
+public final class VisualStyleRemovedEvent extends AbstractCyEvent<Object> {
private final VisualStyle destroyed;
@@ -52,7 +52,7 @@
* @param source Source of event. Anyone can create this event, but
usually GUI components creates this event.
* @param destroyed VisualStyle to be deleted.
*/
- public VisualStyleRemovedEvent(final VisualMappingManager source, final
VisualStyle destroyed) {
+ public VisualStyleRemovedEvent(final Object source, final VisualStyle
destroyed) {
super(source, VisualStyleRemovedListener.class);
this.destroyed = destroyed;
}
--
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.