|
org.netbeans.spi.tasklist/1 1.15.1 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.spi.tasklist.PushTaskScanner
public abstract class PushTaskScanner
Task Scanner that can push new Tasks into Task List window.
You should use this scanner type if it takes too long to compute your tasks
or if your tasks are calculated asynchronously.
In most cases it is easier to use FileTaskScanner
instead.
Nested Class Summary | |
---|---|
static class |
PushTaskScanner.Callback
Callback into Task List framework |
Constructor Summary | |
---|---|
PushTaskScanner(String displayName,
String description,
String optionsPath)
Creates a new instance of PushTaskScanner |
Method Summary | |
---|---|
abstract void |
setScope(TaskScanningScope scope,
PushTaskScanner.Callback callback)
Called by the framework when the user switches to a different scanning scope or when the currently used scope needs to be refreshed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PushTaskScanner(String displayName, String description, String optionsPath)
displayName
- Scanner's display name, will appear in Task List's filter window.description
- Scanner's description, will be used for tooltips.optionsPath
- Path that identifies panel in the global Options dialog window,
or null if the scanner has no user settings. When scanner's settings changed the
scanner must refresh its tasks the Task List window
(PushTaskScanner.Callback.clearAllTasks()
, PushTaskScanner.Callback.setTasks(org.openide.filesystems.FileObject, java.util.List extends org.netbeans.spi.tasklist.Task>)
).Method Detail |
---|
public abstract void setScope(TaskScanningScope scope, PushTaskScanner.Callback callback)
scope
- New scanning scope, null value indicates that task scanning is to be cancelled.callback
- Callback into Task List framework.
|
org.netbeans.spi.tasklist/1 1.15.1 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |