public interface EventPublisher
Modifier and Type | Method and Description |
---|---|
void |
registerForEvents(java.lang.Object recipient)
Register an object to receive events on the viewer event bus.
|
void |
unregisterForEvents(java.lang.Object recipient)
Unregister an object from the viewer event bus.
|
void registerForEvents(java.lang.Object recipient)
Objects registered by this method will receive events through their
methods bearing a com.google.common.eventbus.Subscribe
annotation. See Guava Event Bus documentation for how this works.
recipient
- the object to registerunregisterForEvents(java.lang.Object)
void unregisterForEvents(java.lang.Object recipient)
recipient
- the object to unregisterregisterForEvents(java.lang.Object)