Package | Description |
---|---|
org.netbeans.spi.editor.completion | |
org.netbeans.spi.editor.completion.support |
Modifier and Type | Method and Description |
---|---|
void |
CompletionTask.query(CompletionResultSet resultSet)
Called by the code completion infrastructure to ask the task
to do a query and return the results through the given completion listener.
|
void |
CompletionTask.refresh(CompletionResultSet resultSet)
Called by the code completion infrastructure to inform the task about
changes in the corresponding document.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AsyncCompletionQuery.filter(CompletionResultSet resultSet)
Filter the data collected during the last
AsyncCompletionQuery.query(CompletionResultSet, Document, int) invocation. |
void |
AsyncCompletionTask.query(CompletionResultSet resultSet)
Called by completion infrastructure in AWT thread to populate
the given result set with data.
|
protected abstract void |
AsyncCompletionQuery.query(CompletionResultSet resultSet,
Document doc,
int caretOffset)
Perform the query and add results to the given result set.
|
void |
AsyncCompletionTask.refresh(CompletionResultSet resultSet)
Called by completion infrastructure in AWT thread once there
is a change in the component (caret position changes or document
gets modified).
|