org.netbeans.spi.tasklist/1 1.15.1 1

org.netbeans.spi.tasklist
Class PushTaskScanner.Callback

java.lang.Object
  extended by org.netbeans.spi.tasklist.PushTaskScanner.Callback
Enclosing class:
PushTaskScanner

public static final class PushTaskScanner.Callback
extends Object

Callback into Task List framework


Method Summary
 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.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

started

public void started()
Notify the framework that the scanner started looking for available Tasks.


setTasks

public void setTasks(FileObject file,
                     List<? extends Task> tasks)
Add/remove Tasks for the given file/folder.

Parameters:
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.

setTasks

public void setTasks(List<? extends Task> tasks)
Add/remove Tasks that aren't associated with a particular resource.

Parameters:
tasks - Tasks associated with this TaskScanner or an empty list to remove previously provided Tasks.
Since:
1.6

clearAllTasks

public void clearAllTasks()
Remove from the Task List window all Tasks that were provided by this scanner.


finished

public void finished()
Notify the framework that the scanner has finished.


org.netbeans.spi.tasklist/1 1.15.1 1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.