org.nuxeo.ecm.platform.annotations.gwt.client.view
Class AnnotatedDocument
java.lang.Object
org.nuxeo.ecm.platform.annotations.gwt.client.view.AnnotatedDocument
- All Implemented Interfaces:
- AnnotationChangeListener
public class AnnotatedDocument
- extends Object
- implements AnnotationChangeListener
- Author:
- Alexandre Russel
AnnotatedDocument
public AnnotatedDocument(AnnotationController controller)
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.