public static final class PushTaskScanner.Callback extends Object
Modifier and Type | Method and Description |
---|---|
void |
clearAllTasks()
Remove from the Task List window all Tasks that were provided by this scanner.
|
void |
finished()
Notify the framework that the scanner has finished.
|
boolean |
isCurrentEditorScope() |
boolean |
isObserved() |
void |
setTasks(FileObject file,
List<? extends Task> tasks)
Add/remove Tasks for the given file/folder.
|
void |
setTasks(List<? extends Task> tasks)
Add/remove Tasks that aren't associated with a particular resource.
|
void |
started()
Notify the framework that the scanner started looking for available Tasks.
|
public void started()
public void setTasks(FileObject file, List<? extends Task> tasks)
file
- Resource (file or folder) the tasks are associated with.tasks
- Tasks associated with the given resource or an empty list to remove previously provided Tasks.public void setTasks(List<? extends Task> tasks)
tasks
- Tasks associated with this TaskScanner or an empty list to remove previously provided Tasks.public void clearAllTasks()
public void finished()
public boolean isObserved()
public boolean isCurrentEditorScope()