Search in sources :

Example 1 with CommentChangeEvent

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));
}
Also used : CommentChangeEvent(de.catma.project.event.CommentChangeEvent)

Example 2 with CommentChangeEvent

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));
}
Also used : CommentChangeEvent(de.catma.project.event.CommentChangeEvent)

Example 3 with CommentChangeEvent

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));
}
Also used : CommentChangeEvent(de.catma.project.event.CommentChangeEvent)

Aggregations

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