net.officefloor.eclipse.extension.administratorsource
Interface AdministratorSourceExtension<I,A extends Enum<A>,S extends AdministratorSource<I,A>>

All Known Implementing Classes:
ClassAdministratorSourceExtension

public interface AdministratorSourceExtension<I,A extends Enum<A>,S extends AdministratorSource<I,A>>

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

Field Detail

EXTENSION_ID

static final String EXTENSION_ID
Extension ID.

Method Detail

getAdministratorSourceClass

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

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

getAdministratorSourceLabel

String getAdministratorSourceLabel()

Obtains the label for the AdministratorSource.

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

Returns:
Label for the AdministratorSource.

createControl

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

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


Copyright © 2005-2013. All Rights Reserved.