net.officefloor.eclipse.extension.teamsource.teams
Class WorkerPerTaskTeamSourceExtension

java.lang.Object
  extended by net.officefloor.eclipse.extension.teamsource.teams.WorkerPerTaskTeamSourceExtension
All Implemented Interfaces:
TeamSourceExtension<WorkerPerTaskTeamSource>

public class WorkerPerTaskTeamSourceExtension
extends Object
implements TeamSourceExtension<WorkerPerTaskTeamSource>

TeamSourceExtension for the WorkerPerTaskTeamSource.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface net.officefloor.eclipse.extension.teamsource.TeamSourceExtension
EXTENSION_ID
 
Constructor Summary
WorkerPerTaskTeamSourceExtension()
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite page, TeamSourceExtensionContext context)
          Loads the input page with the necessary Control instances to populate the PropertyList.
 Class<WorkerPerTaskTeamSource> getTeamSourceClass()
          Obtains the class of the TeamSource being enriched in its usage.
 String getTeamSourceLabel()
           Obtains the label for the TeamSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkerPerTaskTeamSourceExtension

public WorkerPerTaskTeamSourceExtension()
Method Detail

getTeamSourceClass

public Class<WorkerPerTaskTeamSource> getTeamSourceClass()
Description copied from interface: TeamSourceExtension
Obtains the class of the TeamSource being enriched in its usage.

Specified by:
getTeamSourceClass in interface TeamSourceExtension<WorkerPerTaskTeamSource>
Returns:
Class of the TeamSource being enriched in its usage.

getTeamSourceLabel

public String getTeamSourceLabel()
Description copied from interface: TeamSourceExtension

Obtains the label for the TeamSource.

This is a descriptive name that can be used other than the fully qualified name of the TeamSource.

Specified by:
getTeamSourceLabel in interface TeamSourceExtension<WorkerPerTaskTeamSource>
Returns:
Label for the TeamSource.

createControl

public void createControl(org.eclipse.swt.widgets.Composite page,
                          TeamSourceExtensionContext context)
Description copied from interface: TeamSourceExtension
Loads the input page with the necessary Control instances to populate the PropertyList. Also allows notifying of changes to Property instances via the TeamSourceExtensionContext.

Specified by:
createControl in interface TeamSourceExtension<WorkerPerTaskTeamSource>
Parameters:
page - Page to be setup for populating the PropertyList.
context - TeamSourceExtensionContext.


Copyright © 2005-2013. All Rights Reserved.