Package edu.stanford.bmir.protege.web.client.ui.notes.editor

Examples of edu.stanford.bmir.protege.web.client.ui.notes.editor.NoteContentEditorHandler


    @Override
    public void handlePostNewTopic() {
        if(!entity.isPresent()) {
            return;
        }
        NoteEditorDialogController controller = new NoteEditorDialogController(new NoteContentEditorHandler() {
            @Override
            public void handleAccept(Optional<NoteContent> noteContent) {
                if(noteContent.isPresent()) {
                    doPost(noteContent.get());
                }
View Full Code Here


        this.noteId = checkNotNull(noteId);
    }

    @Override
    public void handleReplyToNote() {
        NoteEditorDialogController controller = new NoteEditorDialogController(new NoteContentEditorHandler() {
            @Override
            public void handleAccept(Optional<NoteContent> noteContent) {
                if (noteContent.isPresent()) {
                    doReply(noteContent.get());
                }
View Full Code Here

    protected void onEditNotes(final String value, String message, String subject, String text) {
        if (value != null) {
            GWT.log("Editing notes on " + value + " ...", null);

            // TODO: THIS NEEDS FIXING
            NoteEditorDialogController controller = new NoteEditorDialogController(new NoteContentEditorHandler() {
                @Override
                public void handleAccept(Optional<NoteContent> noteContent) {
                    if (noteContent.isPresent()) {
                        OWLEntity entity = DataFactory.getOWLClass(value);
                        DispatchServiceManager.get().execute(new AddNoteToEntityAction(getProjectId(), entity, noteContent.get()), new AsyncCallback<AddNoteToEntityResult>() {
View Full Code Here

        return res;
    }

    public void createReferenceIfUserComments() {
        NoteEditorDialogController controller = new NoteEditorDialogController(new NoteContentEditorHandler() {
            @Override
            public void handleAccept(Optional<NoteContent> noteContent) {
                if (noteContent.isPresent()) {
                    createDNFReference(noteContent.get());
                }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.client.ui.notes.editor.NoteContentEditorHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.