Eclipse Platform
Release 3.2

org.eclipse.ui.cheatsheets
Interface ITaskEditor


public interface ITaskEditor

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.

Since:
3.2

Method Summary
 void createControl(Composite parent, FormToolkit toolkit)
          Creates the widget
 Control getControl()
           
 void start(ICompositeCheatSheetTask task)
          Starts editing the provided task.
 

Method Detail

createControl

public void createControl(Composite parent,
                          FormToolkit toolkit)
Creates the widget

Parameters:
parent -
toolkit -

getControl

public Control getControl()
Returns:
the Control created by a previous call to CreateControl()

start

public void start(ICompositeCheatSheetTask task)
Starts editing the provided task. The editor is responsible for setting the 'percentage complete' state of the task and saving its state. createControl() will always be called before start().

Parameters:
task -

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.