Commit f1bf6cce authored by Alexander Weigl's avatar Alexander Weigl

EventBuss

parent 80ff5047
package edu.kit.formal.gui.controller;
import com.google.common.eventbus.EventBus;
/**
* See http://codingjunkie.net/guava-eventbus/ for an introduction.
*
* Created by weigl on 7/11/17.
*/
public class Events {
public static final EventBus GLOBAL_EVENT_BUS = new EventBus();
public void register(Object object) {
GLOBAL_EVENT_BUS.register(object);
}
public void unregister(Object object) {
GLOBAL_EVENT_BUS.unregister(object);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment