Package edu.stanford.bmir.protege.web.shared.notes

Examples of edu.stanford.bmir.protege.web.shared.notes.NoteDetails


    @Override
    public Optional<NoteDetails> getValue() {
        if(!lastDetails.isPresent()) {
            return Optional.absent();
        }
        NoteDetails last = lastDetails.get();
        NoteHeader header = last.getNoteHeader();
        NoteContent.Builder contentBuilder = NoteContent.builder();
        contentBuilder.setNoteType(NoteType.COMMENT);
        contentBuilder.setBody(editorPanel.getBody());
        NoteContent content = contentBuilder.build();
        return Optional.of(new NoteDetails(header, content));
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.notes.NoteDetails

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.