|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkSourceExtension<W extends Work,S extends WorkSource<W>>
Interface for extension to provide enriched WorkSource usage.
ExtensionClasspathProvider,
ExtensionOpener| Field Summary | |
|---|---|
static String |
EXTENSION_ID
Extension ID. |
| Method Summary | |
|---|---|
void |
createControl(org.eclipse.swt.widgets.Composite page,
WorkSourceExtensionContext context)
Loads the input page with the necessary Control instances to
populate the PropertyList. |
String |
getSuggestedWorkName(PropertyList properties)
Obtains the suggested name of the Work. |
String |
getTaskDocumentation(TaskDocumentationContext context)
Obtains documentation about a Task of the Work. |
Class<S> |
getWorkSourceClass()
Obtains the class of the WorkSource being enriched in its usage. |
String |
getWorkSourceLabel()
Obtains the label for the WorkSource. |
| Field Detail |
|---|
static final String EXTENSION_ID
| Method Detail |
|---|
Class<S> getWorkSourceClass()
WorkSource being enriched in its usage.
WorkSource being enriched in its usage.String getWorkSourceLabel()
Obtains the label for the WorkSource.
This is a descriptive name that can be used other than the fully
qualified name of the WorkSource.
WorkSource.
void createControl(org.eclipse.swt.widgets.Composite page,
WorkSourceExtensionContext context)
Control instances to
populate the PropertyList. Also allows notifying of changes to
Property instances via the WorkSourceExtensionContext.
page - Page to be setup for populating the PropertyList.context - WorkSourceExtensionContext.String getSuggestedWorkName(PropertyList properties)
Work.
properties - PropertyList.
Work name or null if no
suggestion.
String getTaskDocumentation(TaskDocumentationContext context)
throws Throwable
Task of the Work.
context - TaskDocumentationContext.
Task.
Throwable - If fails to obtain documentation about the Task.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||