Search in sources :

Example 1 with ReplyChangeEvent

use of de.catma.project.event.ReplyChangeEvent in project catma by forTEXT.

the class GraphWorktreeProject method addReply.

@Override
public void addReply(Comment comment, Reply reply) throws IOException {
    gitProjectHandler.addReply(comment, reply);
    eventBus.post(new ReplyChangeEvent(ChangeType.CREATED, comment, reply));
}
Also used : ReplyChangeEvent(de.catma.project.event.ReplyChangeEvent)

Example 2 with ReplyChangeEvent

use of de.catma.project.event.ReplyChangeEvent in project catma by forTEXT.

the class GraphWorktreeProject method updateReply.

@Override
public void updateReply(Comment comment, Reply reply) throws IOException {
    gitProjectHandler.updateReply(comment, reply);
    eventBus.post(new ReplyChangeEvent(ChangeType.UPDATED, comment, reply));
}
Also used : ReplyChangeEvent(de.catma.project.event.ReplyChangeEvent)

Example 3 with ReplyChangeEvent

use of de.catma.project.event.ReplyChangeEvent in project catma by forTEXT.

the class GraphWorktreeProject method removeReply.

@Override
public void removeReply(Comment comment, Reply reply) throws IOException {
    gitProjectHandler.removeReply(comment, reply);
    eventBus.post(new ReplyChangeEvent(ChangeType.DELETED, comment, reply));
}
Also used : ReplyChangeEvent(de.catma.project.event.ReplyChangeEvent)

Aggregations

ReplyChangeEvent (de.catma.project.event.ReplyChangeEvent)3