|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.socket.AbstractSocketWorkSourceExtension<HttpTemplateWork,HttpTemplateWorkSource>
net.officefloor.eclipse.socket.HttpTemplateWorkSourceExtension
public class HttpTemplateWorkSourceExtension
WorkSourceExtension for the HttpHtmlTemplateWorkSource.
| Nested Class Summary | |
|---|---|
static class |
HttpTemplateWorkSourceExtension.SectionToBeanTypeMapping
Mapping of the HttpTemplateSection to bean type. |
| Field Summary |
|---|
| Fields inherited from interface net.officefloor.eclipse.extension.worksource.WorkSourceExtension |
|---|
EXTENSION_ID |
| Fields inherited from interface net.officefloor.eclipse.extension.classpath.ExtensionClasspathProvider |
|---|
EXTENSION_ID |
| Constructor Summary | |
|---|---|
HttpTemplateWorkSourceExtension()
Initiate. |
|
| 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. |
void |
openSource(ExtensionOpenerContext context)
Opens the source. |
| Methods inherited from class net.officefloor.eclipse.socket.AbstractSocketWorkSourceExtension |
|---|
getClasspathProvisions, getWorkSourceClass, getWorkSourceLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpTemplateWorkSourceExtension()
| Method Detail |
|---|
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<HttpTemplateWork,HttpTemplateWorkSource>page - Page to be setup for populating the PropertyList.context - WorkSourceExtensionContext.public String getSuggestedWorkName(PropertyList properties)
WorkSourceExtensionWork.
getSuggestedWorkName in interface WorkSourceExtension<HttpTemplateWork,HttpTemplateWorkSource>getSuggestedWorkName in class AbstractSocketWorkSourceExtension<HttpTemplateWork,HttpTemplateWorkSource>properties - PropertyList.
Work name or null if no
suggestion.
public String getTaskDocumentation(TaskDocumentationContext context)
throws Throwable
WorkSourceExtensionTask of the Work.
getTaskDocumentation in interface WorkSourceExtension<HttpTemplateWork,HttpTemplateWorkSource>context - TaskDocumentationContext.
Task.
Throwable - If fails to obtain documentation about the Task.
public void openSource(ExtensionOpenerContext context)
throws Exception
ExtensionOpener
openSource in interface ExtensionOpenercontext - ExtensionOpenerContext.
Exception - If fails to open the source.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||