net.officefloor.eclipse.extension.governancesource
Interface GovernanceSourceExtension<I,F extends Enum<F>,S extends GovernanceSource<I,F>>

All Known Implementing Classes:
ClassGovernanceSourceExtension

public interface GovernanceSourceExtension<I,F extends Enum<F>,S extends GovernanceSource<I,F>>

Interface for extension to provide enriched GovernanceSource usage.

Author:
Daniel Sagenschneider
See Also:
ExtensionClasspathProvider, ExtensionOpener

Field Summary
static String EXTENSION_ID
          Extension ID.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite page, GovernanceSourceExtensionContext context)
          Loads the input page with the necessary Control instances to populate the PropertyList.
 Class<S> getGovernanceSourceClass()
          Obtains the class of the GovernanceSource being enriched in its usage.
 String getGovernanceSourceLabel()
           Obtains the label for the GovernanceSource.
 

Field Detail

EXTENSION_ID

static final String EXTENSION_ID
Extension ID.

Method Detail

getGovernanceSourceClass

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

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

getGovernanceSourceLabel

String getGovernanceSourceLabel()

Obtains the label for the GovernanceSource.

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

Returns:
Label for the GovernanceSource.

createControl

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

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


Copyright © 2005-2013. All Rights Reserved.