|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.extension.worksource.clazz.DesignWorkSourceExtension
public class DesignWorkSourceExtension
WorkSourceExtension for the DesignWorkSource.
| Field Summary |
|---|
| Fields inherited from interface net.officefloor.eclipse.extension.worksource.WorkSourceExtension |
|---|
EXTENSION_ID |
| Constructor Summary | |
|---|---|
DesignWorkSourceExtension()
|
|
| 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(net.officefloor.compile.properties.PropertyList properties)
Obtains the suggested name of the Work. |
String |
getTaskDocumentation(TaskDocumentationContext context)
Obtains documentation about a Task of the Work. |
Class<net.officefloor.plugin.work.design.DesignWorkSource> |
getWorkSourceClass()
Obtains the class of the WorkSource being enriched in its usage. |
String |
getWorkSourceLabel()
Obtains the label for the WorkSource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DesignWorkSourceExtension()
| Method Detail |
|---|
public Class<net.officefloor.plugin.work.design.DesignWorkSource> getWorkSourceClass()
WorkSourceExtensionWorkSource being enriched in its usage.
getWorkSourceClass in interface WorkSourceExtension<net.officefloor.frame.api.execute.Work,net.officefloor.plugin.work.design.DesignWorkSource>WorkSource being enriched in its usage.public String getWorkSourceLabel()
WorkSourceExtension
Obtains the label for the WorkSource.
This is a descriptive name that can be used other than the fully
qualified name of the WorkSource.
getWorkSourceLabel in interface WorkSourceExtension<net.officefloor.frame.api.execute.Work,net.officefloor.plugin.work.design.DesignWorkSource>WorkSource.
public void createControl(org.eclipse.swt.widgets.Composite page,
WorkSourceExtensionContext context)
WorkSourceExtensionControl instances to
populate the PropertyList. Also allows notifying of changes to
Property instances via the WorkSourceExtensionContext.
createControl in interface WorkSourceExtension<net.officefloor.frame.api.execute.Work,net.officefloor.plugin.work.design.DesignWorkSource>page - Page to be setup for populating the PropertyList.context - WorkSourceExtensionContext.public String getSuggestedWorkName(net.officefloor.compile.properties.PropertyList properties)
WorkSourceExtensionWork.
getSuggestedWorkName in interface WorkSourceExtension<net.officefloor.frame.api.execute.Work,net.officefloor.plugin.work.design.DesignWorkSource>properties - PropertyList.
Work name or null if no
suggestion.
public String getTaskDocumentation(TaskDocumentationContext context)
throws Throwable
WorkSourceExtensionTask of the Work.
getTaskDocumentation in interface WorkSourceExtension<net.officefloor.frame.api.execute.Work,net.officefloor.plugin.work.design.DesignWorkSource>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 | |||||||||