public class HttpSessionAttributeRetrieverManagedObjectSourceExtension extends Object implements ManagedObjectSourceExtension<HttpSessionAttributeRetrieverManagedObjectSource.HttpSessionAttributeRetrieverDependencies,None,HttpSessionAttributeRetrieverManagedObjectSource>, ExtensionOpener
EXTENSION_ID
Constructor and Description |
---|
HttpSessionAttributeRetrieverManagedObjectSourceExtension() |
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite page,
ManagedObjectSourceExtensionContext context)
Populates the input page with the necessary
Control instances to
obtain the properties. |
Class<HttpSessionAttributeRetrieverManagedObjectSource> |
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 . |
void |
openSource(ExtensionOpenerContext context)
Opens the source.
|
public HttpSessionAttributeRetrieverManagedObjectSourceExtension()
public Class<HttpSessionAttributeRetrieverManagedObjectSource> getManagedObjectSourceClass()
ManagedObjectSourceExtension
ManagedObjectSource
being enriched in
its usage.getManagedObjectSourceClass
in interface ManagedObjectSourceExtension<HttpSessionAttributeRetrieverManagedObjectSource.HttpSessionAttributeRetrieverDependencies,None,HttpSessionAttributeRetrieverManagedObjectSource>
ManagedObjectSource
being enriched in its
usage.public String getManagedObjectSourceLabel()
ManagedObjectSourceExtension
ManagedObjectSource
.getManagedObjectSourceLabel
in interface ManagedObjectSourceExtension<HttpSessionAttributeRetrieverManagedObjectSource.HttpSessionAttributeRetrieverDependencies,None,HttpSessionAttributeRetrieverManagedObjectSource>
public void createControl(org.eclipse.swt.widgets.Composite page, ManagedObjectSourceExtensionContext context)
ManagedObjectSourceExtension
Control
instances to
obtain the properties. Also allows notifying of changes to properties via
the ManagedObjectSourceExtensionContext
.createControl
in interface ManagedObjectSourceExtension<HttpSessionAttributeRetrieverManagedObjectSource.HttpSessionAttributeRetrieverDependencies,None,HttpSessionAttributeRetrieverManagedObjectSource>
page
- Page to be setup for obtaining the properties.context
- ManagedObjectSourceExtensionContext
.public String getSuggestedManagedObjectSourceName(PropertyList properties)
ManagedObjectSourceExtension
ManagedObjectSource
.getSuggestedManagedObjectSourceName
in interface ManagedObjectSourceExtension<HttpSessionAttributeRetrieverManagedObjectSource.HttpSessionAttributeRetrieverDependencies,None,HttpSessionAttributeRetrieverManagedObjectSource>
properties
- Populate PropertyList
.ManagedObjectSource
name or null
if no suggestion.public void openSource(ExtensionOpenerContext context) throws Exception
ExtensionOpener
openSource
in interface ExtensionOpener
context
- ExtensionOpenerContext
.Exception
- If fails to open the source.Copyright © 2005–2016. All rights reserved.