edu.uchsc.ccp.knowtator.event
Interface RefreshAnnotationsDisplayListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AnnotationSchemaInstancesList, AnnotationSchemaTree, Knowtator, KnowtatorTextPane

public interface RefreshAnnotationsDisplayListener
extends EventListener


Method Summary
 void refreshAnnotationsDisplay(boolean scrollToSelection)
           
 

Method Detail

refreshAnnotationsDisplay

void refreshAnnotationsDisplay(boolean scrollToSelection)
Parameters:
scrollToSelection - this was added to the interface to solve a scrolling problem. Essentially, when you scroll using a scroll bar, you do not want to enforce that the selected annotation remain visible - otherwise refreshing the annotations will cause the scroll bar to go right back to the selected annotation immediately after it is scrolled out of view.
See Also:
TextViewer.initialize(), KnowtatorManager.refreshAnnotationsDisplay(boolean)