|
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.TaskExplorer
Classes that extend this class are responsible for rendering the hierarchy of tasks in the composite cheat sheet. They must support task selection via the selection provider, be able to accept focus, and create control when asked.
| Constructor Summary | |
|---|---|
TaskExplorer()
|
|
| Method Summary | |
|---|---|
abstract void |
createControl(Composite parent,
FormToolkit toolkit)
Create a control which will display the structure of the composite cheat sheet and allow tasks within the composite cheat sheet to be selected. |
abstract void |
dispose()
Called after this explorer is no longer in use. |
abstract Control |
getControl()
Get the control created by a previous call to createControl |
abstract String |
getId()
|
abstract ISelectionProvider |
getSelectionProvider()
Get the selection provider for this explorer. |
abstract void |
setCompositeCheatSheet(ICompositeCheatSheet compositeCheatSheet)
Sets the composite cheat sheet to be displayed. createControl will already have been called. |
abstract void |
setFocus()
Called when the explorer gains focus. |
abstract void |
setSelection(ISelection selection,
boolean reveal)
Called to set the provided selection and optionally reveal it if the scroll bars are active and the selected tasks are partially or fully hidden. |
abstract void |
taskUpdated(ICompositeCheatSheetTask task)
Called when the state of a task changes and the representation of the task may need to be redrawn. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TaskExplorer()
| Method Detail |
public abstract String getId()
public abstract void createControl(Composite parent,
FormToolkit toolkit)
parent - toolkit - public abstract Control getControl()
public abstract void setFocus()
public abstract ISelectionProvider getSelectionProvider()
public abstract void setCompositeCheatSheet(ICompositeCheatSheet compositeCheatSheet)
compositeCheatSheet - public abstract void dispose()
public abstract void taskUpdated(ICompositeCheatSheetTask task)
task -
public abstract void setSelection(ISelection selection,
boolean reveal)
selection - the new selectionreveal - if true, expose the task if hidden;
otherwise, just select.
|
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.