net.officefloor.eclipse.extension.sectionsource
Interface SectionSourceExtension<S extends SectionSource>

All Known Implementing Classes:
DeskModelSectionSourceExtension, SectionModelSectionSourceExtension

public interface SectionSourceExtension<S extends SectionSource>

Interface for extension to provide enriched SectionSource 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, SectionSourceExtensionContext context)
          Loads the input page with the necessary Control instances to populate the PropertyList.
 Class<S> getSectionSourceClass()
          Obtains the class of the SectionSource being enriched in its usage.
 String getSectionSourceLabel()
           Obtains the label for the SectionSource.
 

Field Detail

EXTENSION_ID

static final String EXTENSION_ID
Extension ID.

Method Detail

getSectionSourceClass

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

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

getSectionSourceLabel

String getSectionSourceLabel()

Obtains the label for the SectionSource.

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

Returns:
Label for the SectionSource.

createControl

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

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


Copyright © 2005-2013. All Rights Reserved.