}
@Override
public void handleDeleteNote() {
ProjectId projectId = Application.get().getActiveProject().get();
DispatchServiceManager.get().execute(new DeleteNoteAction(projectId, noteId), new AsyncCallback<DeleteNoteResult>() {
@Override
public void onFailure(Throwable caught) {
GWT.log("There was a problem deleting the note", caught);
}