|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlacam.management.TaskManager
Manages the task library of the system. All task descriptors are stored here.
Constructor Summary | |
TaskManager()
|
Method Summary | |
static TaskDescriptor |
addTask(org.w3c.dom.Node task_node,
java.lang.String plugin)
Adds a task described by the task_node to the library |
static TaskDescriptor |
getCurrentTask()
|
static TaskDescriptor |
getTaskDescriptor(java.lang.String id)
|
static javax.swing.tree.TreeModel |
getTreeModelInstance()
|
static boolean |
hasTask(TaskDescriptor task)
|
static void |
runTask(TaskDescriptor task)
Starts a task if possible. |
static void |
updateTasksSet()
Updates the task library silently |
static void |
updateTasksSetVerbose()
Updates the task library while showing the progress to the user |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskManager()
Method Detail |
public static void updateTasksSet()
public static void updateTasksSetVerbose()
public static void runTask(TaskDescriptor task)
task
- The task to startpublic static TaskDescriptor getCurrentTask()
public static javax.swing.tree.TreeModel getTreeModelInstance()
TreeModel
instance representing the current tasksTaskLibraryContainer
public static TaskDescriptor addTask(org.w3c.dom.Node task_node, java.lang.String plugin)
task_node
to the library
task_node
- The document snippet containing all necessary data about the taskplugin
- The plugin the task is linked to
TaskDescriptor
created from the task_node
public static TaskDescriptor getTaskDescriptor(java.lang.String id)
id
- The id of the task to look for
TaskDescriptor
identified by the id
public static boolean hasTask(TaskDescriptor task)
task
- The TaskDescriptor
to look for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |