org.openide.text 6.9.22

Interface AnnotationProvider

public interface AnnotationProvider

A provider of annotations for given context. Implementations of this interface are looked up in the global lookup and called to let them attach annotations to the lines in the set. The call is performed during opening of given context.


Method Summary
 void annotate(Line.Set set, Lookup context)
          Attach annotations to the Line.Set for given context.

Method Detail


void annotate(Line.Set set,
              Lookup context)
Attach annotations to the Line.Set for given context.

set - the Line.Set to attach annotations to.
context - a Lookup describing the context for the Line.Set. it shall contain the FileObject the LineSet is associated with.

org.openide.text 6.9.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.