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

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

public class OnePersonTeamSourceExtension
extends Object
implements TeamSourceExtension<OnePersonTeamSource>

TeamSourceExtension for the OnePersonTeamSource.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface net.officefloor.eclipse.extension.teamsource.TeamSourceExtension
EXTENSION_ID
 
Constructor Summary
OnePersonTeamSourceExtension()
           
 
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<OnePersonTeamSource> 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

OnePersonTeamSourceExtension

public OnePersonTeamSourceExtension()
Method Detail

getTeamSourceClass

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

Specified by:
getTeamSourceClass in interface TeamSourceExtension<OnePersonTeamSource>
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<OnePersonTeamSource>
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<OnePersonTeamSource>
Parameters:
page - Page to be setup for populating the PropertyList.
context - TeamSourceExtensionContext.


Copyright © 2005-2013. All Rights Reserved.