public abstract class PushTaskScanner extends Object
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
|Modifier and Type||Class and Description|
Callback into Task List framework
|Constructor and Description|
Creates a new instance of PushTaskScanner
|Modifier and Type||Method and Description|
Called by the framework when the user switches to a different scanning scope or when the currently used scope needs to be refreshed.
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.setTasks(org.openide.filesystems.FileObject, java.util.List<? extends org.netbeans.spi.tasklist.Task>)).
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.
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.