Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
f1bf6cce
Commit
f1bf6cce
authored
Jul 11, 2017
by
Alexander Weigl
Browse files
EventBuss
parent
80ff5047
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/edu/kit/formal/gui/controller/Events.java
0 → 100644
View file @
f1bf6cce
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
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment