|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.todo.ToDoManager
public abstract class ToDoManager
The ToDoManager
coordinates the management of ToDoItem
data and the UI that displays it the ToDo window. In addition it defines constants to use for standardized priorities that can be used when creating a ToDoItem
).
Field Summary | |
---|---|
static int |
HIGH_PRIORITY Constant for high priority that can be assigned to the ToDoItem |
static int |
LOW_PRIORITY Constant for low priority that can be assigned to the ToDoItem |
static int |
MEDIUM_PRIORITY Constant for medium priority that can be assigned to the ToDoItem |
static int |
NO_PRIORITY A default priority that is used when no other priority has been assigned to the ToDoItem |
static java.lang.String |
TODO_MANAGER_NAME |
Constructor Summary | |
---|---|
ToDoManager() |
Method Summary | |
---|---|
abstract void |
add(ToDoItem[] items) Adds an array of ToDoItem s to the list of items |
abstract ToDoItem |
createToDoItem(java.lang.String description, int priorityId, java.util.Date date) Creates a ToDoItem . |
static ToDoManager |
getToDoManager() Returns the ToDoManager instance that is active in the IDE |
abstract void |
remove(ToDoItem[] items) Removes an array of ToDoItem s from the list of items |
static void |
setToDoManager(ToDoManager toDoManager) Publishes the specified ToDoManager as the active instance in the IDE. |
abstract void |
setWindowVisible(boolean show) Shows/Hides the task window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TODO_MANAGER_NAME
public static final int NO_PRIORITY
ToDoItem
public static final int HIGH_PRIORITY
ToDoItem
public static final int MEDIUM_PRIORITY
ToDoItem
public static final int LOW_PRIORITY
ToDoItem
Constructor Detail |
---|
public ToDoManager()
Method Detail |
---|
public static ToDoManager getToDoManager()
public static void setToDoManager(ToDoManager toDoManager)
public abstract void add(ToDoItem[] items)
ToDoItem
s to the list of itemspublic abstract void remove(ToDoItem[] items)
ToDoItem
s from the list of itemspublic abstract ToDoItem createToDoItem(java.lang.String description, int priorityId, java.util.Date date)
ToDoItem
. The client can then call additional methods on the ToDoItem
to set data on the item. The client is responsible for adding the item to the IDE's list of items using the add()
method.description
- to use for the taskpriorityId
- id to use for the task; typically one of the constants defined in ToDoManager
date
- the task is to be completedToDoItem
public abstract void setWindowVisible(boolean show)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |