Author: mes
Date: 2011-06-14 10:47:13 -0700 (Tue, 14 Jun 2011)
New Revision: 25745
Modified:
core3/event-api/branches/nagling-events/src/main/java/org/cytoscape/event/CyEventHelper.java
core3/event-api/branches/nagling-events/src/test/java/org/cytoscape/event/DummyCyEventHelper.java
Log:
added force fire
Modified:
core3/event-api/branches/nagling-events/src/main/java/org/cytoscape/event/CyEventHelper.java
===================================================================
---
core3/event-api/branches/nagling-events/src/main/java/org/cytoscape/event/CyEventHelper.java
2011-06-14 16:40:25 UTC (rev 25744)
+++
core3/event-api/branches/nagling-events/src/main/java/org/cytoscape/event/CyEventHelper.java
2011-06-14 17:47:13 UTC (rev 25745)
@@ -57,6 +57,14 @@
<S,P,E extends CyPayloadEvent<S,P>> void addEventPayload(S source, P
payload, Class<E> eventType);
/**
+ * Forces accumulated payload events to be fired. This is a useful
method
+ * that forces payload events, which are normally fired asynchronously
to
+ * be fired synchronously at a precise time. This method should NOT be
called
+ * as a course of habit, but can be used in special circumstances.
+ */
+ void forceFirePayloadEvents();
+
+ /**
* This method will prevent any events fired from the specified source
* object from being propagated to listeners. This applies to both
* normal Listeners and MicroListeners.
Modified:
core3/event-api/branches/nagling-events/src/test/java/org/cytoscape/event/DummyCyEventHelper.java
===================================================================
---
core3/event-api/branches/nagling-events/src/test/java/org/cytoscape/event/DummyCyEventHelper.java
2011-06-14 16:40:25 UTC (rev 25744)
+++
core3/event-api/branches/nagling-events/src/test/java/org/cytoscape/event/DummyCyEventHelper.java
2011-06-14 17:47:13 UTC (rev 25745)
@@ -65,4 +65,7 @@
public void unsilenceEventSource(Object o) {
}
+
+ public void forceFirePayloadEvents() {
+ }
}
--
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.