|
Eclipse Platform Release 3.2 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
A task within a composite cheat sheet.
This interface is not intended to be implemented by clients.
| Field Summary | |
|---|---|
static int |
COMPLETED
The constant that indicates that the task has been completed. |
static int |
IN_PROGRESS
The constant that indicates that the task is in progress. |
static int |
NOT_STARTED
The constant that indicates that the task has not been processed yet. |
| Method Summary | |
|---|---|
void |
advanceState()
Advance the state of this task |
String |
getCompletionMessage()
Gets the text to be displayed when this task is completed |
String |
getDescription()
Returns the description of the task. |
String |
getId()
|
URL |
getInputUrl(String path)
Gets a URL which can be used to open the content file for this task if the content file can be specified by a path relative to the content file for the composite cheat sheet which contains it. |
String |
getKind()
Returns the kind of the task editor. |
String |
getName()
|
Dictionary |
getParameters()
The task parameters are used to configure the task editor with data meaningful to an editor of this kind. |
int |
getPercentageComplete()
Returns the percentage of this task that has been completed. |
ICompositeCheatSheetTask[] |
getRequiredTasks()
get the tasks which are required to be completed before this task is started. |
int |
getState()
Get the state of this task |
IPath |
getStateLocation()
Gets a location where the state for this task can be saved. |
ICompositeCheatSheetTask[] |
getSubtasks()
Returns an array of subtasks that are children of this task. |
boolean |
isStartable()
Determine whether this task can be started. |
void |
setPercentageComplete(int percentageComplete)
Set the percentage of the task that has been completed |
| Field Detail |
public static final int NOT_STARTED
public static final int IN_PROGRESS
public static final int COMPLETED
| Method Detail |
public String getId()
public String getName()
public String getKind()
null if no editor
is assoticated with this task.public Dictionary getParameters()
public String getDescription()
FormTextpublic ICompositeCheatSheetTask[] getSubtasks()
public ICompositeCheatSheetTask[] getRequiredTasks()
public int getState()
public int getPercentageComplete()
public void setPercentageComplete(int percentageComplete)
percentageComplete - an integer between 0 and 100public void advanceState()
public String getCompletionMessage()
FormTextpublic boolean isStartable()
public IPath getStateLocation()
public URL getInputUrl(String path)
throws MalformedURLException
path - a relative path
MalformedURLException
|
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, 2005. All rights reserved.