|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.extension.worksource.clazz.ClassWorkSourceExtension
public class ClassWorkSourceExtension
WorkSourceExtension for the ClassWorkSource.
| 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 | |
|---|---|
ClassWorkSourceExtension()
|
|
| 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. |
ClasspathProvision[] |
getClasspathProvisions()
Obtains the ClasspathProvision instances for the extension. |
String |
getSuggestedWorkName(PropertyList properties)
Obtains the suggested name of the Work. |
String |
getTaskDocumentation(TaskDocumentationContext context)
Obtains documentation about a Task of the Work. |
Class<ClassWorkSource> |
getWorkSourceClass()
Obtains the class of the WorkSource being enriched in its usage. |
String |
getWorkSourceLabel()
Obtains the label for the WorkSource. |
void |
openSource(ExtensionOpenerContext context)
Opens the source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassWorkSourceExtension()
| Method Detail |
|---|
public Class<ClassWorkSource> getWorkSourceClass()
WorkSourceExtensionWorkSource being enriched in its usage.
getWorkSourceClass in interface WorkSourceExtension<ClassWork,ClassWorkSource>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<ClassWork,ClassWorkSource>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<ClassWork,ClassWorkSource>page - Page to be setup for populating the PropertyList.context - WorkSourceExtensionContext.public String getSuggestedWorkName(PropertyList properties)
WorkSourceExtensionWork.
getSuggestedWorkName in interface WorkSourceExtension<ClassWork,ClassWorkSource>properties - PropertyList.
Work name or null if no
suggestion.
public String getTaskDocumentation(TaskDocumentationContext context)
throws Throwable
WorkSourceExtensionTask of the Work.
getTaskDocumentation in interface WorkSourceExtension<ClassWork,ClassWorkSource>context - TaskDocumentationContext.
Task.
Throwable - If fails to obtain documentation about the Task.public ClasspathProvision[] getClasspathProvisions()
ExtensionClasspathProviderClasspathProvision instances for the extension.
getClasspathProvisions in interface ExtensionClasspathProviderClasspathProvision instances for the extension.
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 | |||||||||