public interface WorkSourceExtension<W extends Work,S extends WorkSource<W>>
WorkSource
usage.ExtensionClasspathProvider
,
ExtensionOpener
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_ID
Extension ID.
|
Modifier and Type | Method and Description |
---|---|
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)
|
Class<S> |
getWorkSourceClass()
Obtains the class of the
WorkSource being enriched in its usage. |
String |
getWorkSourceLabel()
Obtains the label for the
WorkSource . |
static final String EXTENSION_ID
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
context
- TaskDocumentationContext
.Task
.Throwable
- If fails to obtain documentation about the Task
.Copyright © 2005–2016. All rights reserved.