Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.gwt.client.view
Class AnnotatedDocument

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.gwt.client.view.AnnotatedDocument
All Implemented Interfaces:
AnnotationChangeListener

public class AnnotatedDocument
extends Object
implements AnnotationChangeListener

Author:
Alexandre Russel

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.annotations.gwt.client.model.AnnotationChangeListener
AnnotationChangeListener.ChangeEvent
 
Constructor Summary
AnnotatedDocument(AnnotationController controller)
           
 
Method Summary
 void decorate(Annotation annotation)
           
 void decorateSelectedText(Annotation annotation)
           
 void hideAnnotations()
           
 boolean isAnnotationsVisible()
           
 void onChange(AnnotationModel model, AnnotationChangeListener.ChangeEvent ce)
           
 void preDecorateDocument()
           
 void removeSelectedTextDecoration(Annotation annotation)
           
 void showAnnotations()
           
 void update()
           
 void update(boolean forceDecorate)
           
 void updateSelectedAnnotation(int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedDocument

public AnnotatedDocument(AnnotationController controller)
Method Detail

onChange

public void onChange(AnnotationModel model,
                     AnnotationChangeListener.ChangeEvent ce)
Specified by:
onChange in interface AnnotationChangeListener

update

public void update()

update

public void update(boolean forceDecorate)

preDecorateDocument

public void preDecorateDocument()

decorate

public void decorate(Annotation annotation)

updateSelectedAnnotation

public void updateSelectedAnnotation(int index)

hideAnnotations

public void hideAnnotations()

showAnnotations

public void showAnnotations()

isAnnotationsVisible

public boolean isAnnotationsVisible()

decorateSelectedText

public void decorateSelectedText(Annotation annotation)

removeSelectedTextDecoration

public void removeSelectedTextDecoration(Annotation annotation)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.