站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

AnnotationProvider (Text API) - NetBeans API Javadoc (Current Development Version)

org.openide.text 6.16

org.openide.text
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.

Since:
4.30

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

Method Detail

annotate

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

Parameters:
set - the Line.Set to attach annotations to.
context - a Lookup describing the context for the Line.Set. If the Line.Set is associated with a document originating from a file, the context shall contain the respective FileObject.

org.openide.text 6.16

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.