net.officefloor.eclipse.extension.teamsource
Interface TeamSourceExtension<S extends TeamSource>

All Known Implementing Classes:
LeaderFollowerTeamSourceExtension, OnePersonTeamSourceExtension, PassiveTeamSourceExtension, ProcessContextTeamSourceExtension, WorkerPerTaskTeamSourceExtension

public interface TeamSourceExtension<S extends TeamSource>

Interface for extension to provide enriched TeamSource usage.

Author:
Daniel Sagenschneider
See Also:
ExtensionClasspathProvider

Field Summary
static String EXTENSION_ID
          Extension ID.
 
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<S> getTeamSourceClass()
          Obtains the class of the TeamSource being enriched in its usage.
 String getTeamSourceLabel()
           Obtains the label for the TeamSource.
 

Field Detail

EXTENSION_ID

static final String EXTENSION_ID
Extension ID.

Method Detail

getTeamSourceClass

Class<S> getTeamSourceClass()
Obtains the class of the TeamSource being enriched in its usage.

Returns:
Class of the TeamSource being enriched in its usage.

getTeamSourceLabel

String getTeamSourceLabel()

Obtains the label for the TeamSource.

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

Returns:
Label for the TeamSource.

createControl

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

Parameters:
page - Page to be setup for populating the PropertyList.
context - TeamSourceExtensionContext.


Copyright © 2005-2013. All Rights Reserved.