use of de.catma.project.event.CommentChangeEvent in project catma by forTEXT.
the class GraphWorktreeProject method addComment.
@Override
public void addComment(Comment comment) throws IOException {
gitProjectHandler.addComment(comment);
eventBus.post(new CommentChangeEvent(ChangeType.CREATED, comment));
}
use of de.catma.project.event.CommentChangeEvent in project catma by forTEXT.
the class GraphWorktreeProject method removeComment.
@Override
public void removeComment(Comment comment) throws IOException {
gitProjectHandler.removeComment(comment);
eventBus.post(new CommentChangeEvent(ChangeType.DELETED, comment));
}
use of de.catma.project.event.CommentChangeEvent in project catma by forTEXT.
the class GraphWorktreeProject method updateComment.
@Override
public void updateComment(Comment comment) throws IOException {
gitProjectHandler.updateComment(comment);
eventBus.post(new CommentChangeEvent(ChangeType.UPDATED, comment));
}
Aggregations