net.officefloor.eclipse.extension.sectionsource.section
Class SectionModelSectionSourceExtension

java.lang.Object
  extended by net.officefloor.eclipse.extension.sectionsource.section.SectionModelSectionSourceExtension
All Implemented Interfaces:
SectionSourceExtension<SectionModelSectionSource>

public class SectionModelSectionSourceExtension
extends Object
implements SectionSourceExtension<SectionModelSectionSource>

SectionSourceExtension for the SectionModelSectionSource.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface net.officefloor.eclipse.extension.sectionsource.SectionSourceExtension
EXTENSION_ID
 
Constructor Summary
SectionModelSectionSourceExtension()
           
 
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<SectionModelSectionSource> getSectionSourceClass()
          Obtains the class of the SectionSource being enriched in its usage.
 String getSectionSourceLabel()
           Obtains the label for the SectionSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionModelSectionSourceExtension

public SectionModelSectionSourceExtension()
Method Detail

getSectionSourceClass

public Class<SectionModelSectionSource> getSectionSourceClass()
Description copied from interface: SectionSourceExtension
Obtains the class of the SectionSource being enriched in its usage.

Specified by:
getSectionSourceClass in interface SectionSourceExtension<SectionModelSectionSource>
Returns:
Class of the SectionSource being enriched in its usage.

getSectionSourceLabel

public String getSectionSourceLabel()
Description copied from interface: SectionSourceExtension

Obtains the label for the SectionSource.

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

Specified by:
getSectionSourceLabel in interface SectionSourceExtension<SectionModelSectionSource>
Returns:
Label for the SectionSource.

createControl

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

Specified by:
createControl in interface SectionSourceExtension<SectionModelSectionSource>
Parameters:
page - Page to be setup for populating the PropertyList.
context - SectionSourceExtensionContext.


Copyright © 2005-2013. All Rights Reserved.