|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ui.cheatsheets.TaskEditor
An editor which provides the UI for a task within a composite cheat sheet. A task editor is responsible for saving the state of the task whenever it changes.
| Constructor Summary | |
|---|---|
TaskEditor()
|
|
| Method Summary | |
|---|---|
abstract void |
createControl(Composite parent,
FormToolkit toolkit)
Creates the widget |
abstract Control |
getControl()
|
abstract void |
saveState(IMemento memento)
Saves the object state within a memento. |
abstract void |
setInput(IEditableTask task,
IMemento memento)
Starts editing the provided task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TaskEditor()
| Method Detail |
public abstract void createControl(Composite parent,
FormToolkit toolkit)
parent - toolkit - public abstract Control getControl()
public abstract void setInput(IEditableTask task,
IMemento memento)
task - The task associated with this editormemento - The state of this task saved from a previous invocation.
The memento will be null if the task has not been previously started
or if it is being restarted. If the editor is being restored from a previous
session the memento will contain the last saved state.public abstract void saveState(IMemento memento)
memento - a memento to receive the object state
|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.