org.netbeans.spi.editor.hints/0 1.24.0 7

org.netbeans.spi.editor.hints
Interface PositionRefresher


public interface PositionRefresher

Refresher invoked upon mouse click or Alt-Enter. Clients should register its implementations inside layer for appropriate mimetype and provide all ErrorDescriptions for given line (specified by position). Contract is that fixes will be already computed in the time of the retrieval.

Since:
1.8.1

Method Summary
 Map<String,List<ErrorDescription>> getErrorDescriptionsAt(Context context, Document doc)
           
 

Method Detail

getErrorDescriptionsAt

Map<String,List<ErrorDescription>> getErrorDescriptionsAt(Context context,
                                                          Document doc)
Parameters:
position - current caret position inside document
doc - current document
Returns:
map of layer name to ErrorDescriptions for current line

org.netbeans.spi.editor.hints/0 1.24.0 7

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.