net.officefloor.eclipse.extension.managedobjectsource.xml
Class TreeXmlUnmarshallerManagedObjectSourceExtension

java.lang.Object
  extended by net.officefloor.eclipse.extension.managedobjectsource.xml.TreeXmlUnmarshallerManagedObjectSourceExtension
All Implemented Interfaces:
ManagedObjectSourceExtension<None,None,TreeXmlUnmarshallerManagedObjectSource>

public class TreeXmlUnmarshallerManagedObjectSourceExtension
extends Object
implements ManagedObjectSourceExtension<None,None,TreeXmlUnmarshallerManagedObjectSource>

ManagedObjectSourceExtension for TreeXmlUnmarshallerManagedObjectSource.

Author:
Daniel Sagenschneider

Field Summary
 
Fields inherited from interface net.officefloor.eclipse.extension.managedobjectsource.ManagedObjectSourceExtension
EXTENSION_ID
 
Constructor Summary
TreeXmlUnmarshallerManagedObjectSourceExtension()
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite page, ManagedObjectSourceExtensionContext context)
          Populates the input page with the necessary Control instances to obtain the properties.
 Class<TreeXmlUnmarshallerManagedObjectSource> getManagedObjectSourceClass()
          Obtains the class of the ManagedObjectSource being enriched in its usage.
 String getManagedObjectSourceLabel()
          Obtains the display name.
 String getSuggestedManagedObjectSourceName(PropertyList properties)
          Obtains the suggested name of the ManagedObjectSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeXmlUnmarshallerManagedObjectSourceExtension

public TreeXmlUnmarshallerManagedObjectSourceExtension()
Method Detail

getManagedObjectSourceClass

public Class<TreeXmlUnmarshallerManagedObjectSource> getManagedObjectSourceClass()
Description copied from interface: ManagedObjectSourceExtension
Obtains the class of the ManagedObjectSource being enriched in its usage.

Specified by:
getManagedObjectSourceClass in interface ManagedObjectSourceExtension<None,None,TreeXmlUnmarshallerManagedObjectSource>
Returns:
Class of the ManagedObjectSource being enriched in its usage.

getManagedObjectSourceLabel

public String getManagedObjectSourceLabel()
Description copied from interface: ManagedObjectSourceExtension
Obtains the display name. This is a descriptive name that can be used other than the fully qualified name of the ManagedObjectSource.

Specified by:
getManagedObjectSourceLabel in interface ManagedObjectSourceExtension<None,None,TreeXmlUnmarshallerManagedObjectSource>
Returns:
Display name.

createControl

public void createControl(org.eclipse.swt.widgets.Composite page,
                          ManagedObjectSourceExtensionContext context)
Description copied from interface: ManagedObjectSourceExtension
Populates the input page with the necessary Control instances to obtain the properties. Also allows notifying of changes to properties via the ManagedObjectSourceExtensionContext.

Specified by:
createControl in interface ManagedObjectSourceExtension<None,None,TreeXmlUnmarshallerManagedObjectSource>
Parameters:
page - Page to be setup for obtaining the properties.
context - ManagedObjectSourceExtensionContext.

getSuggestedManagedObjectSourceName

public String getSuggestedManagedObjectSourceName(PropertyList properties)
Description copied from interface: ManagedObjectSourceExtension
Obtains the suggested name of the ManagedObjectSource.

Specified by:
getSuggestedManagedObjectSourceName in interface ManagedObjectSourceExtension<None,None,TreeXmlUnmarshallerManagedObjectSource>
Parameters:
properties - Populate PropertyList.
Returns:
Suggested ManagedObjectSource name or null if no suggestion.


Copyright © 2005-2013. All Rights Reserved.