public class ClassAdministratorSourceExtension extends Object implements AdministratorSourceExtension<Object,Indexed,ClassAdministratorSource>, ExtensionClasspathProvider, ExtensionOpener
EXTENSION_ID
EXTENSION_ID
Constructor and Description |
---|
ClassAdministratorSourceExtension() |
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite page,
AdministratorSourceExtensionContext context)
Loads the input page with the necessary
Control instances to
populate the PropertyList . |
Class<ClassAdministratorSource> |
getAdministratorSourceClass()
Obtains the class of the
AdministratorSource being enriched in
its usage. |
String |
getAdministratorSourceLabel()
Obtains the label for the
AdministratorSource . |
ClasspathProvision[] |
getClasspathProvisions()
Obtains the
ClasspathProvision instances for the extension. |
void |
openSource(ExtensionOpenerContext context)
Opens the source.
|
public Class<ClassAdministratorSource> getAdministratorSourceClass()
AdministratorSourceExtension
AdministratorSource
being enriched in
its usage.getAdministratorSourceClass
in interface AdministratorSourceExtension<Object,Indexed,ClassAdministratorSource>
AdministratorSource
being enriched in its
usage.public String getAdministratorSourceLabel()
AdministratorSourceExtension
Obtains the label for the AdministratorSource
.
This is a descriptive name that can be used other than the fully
qualified name of the AdministratorSource
.
getAdministratorSourceLabel
in interface AdministratorSourceExtension<Object,Indexed,ClassAdministratorSource>
AdministratorSource
.public void createControl(org.eclipse.swt.widgets.Composite page, AdministratorSourceExtensionContext context)
AdministratorSourceExtension
Control
instances to
populate the PropertyList
. Also allows notifying of changes to
Property
instances via the
AdministratorSourceExtensionContext
.createControl
in interface AdministratorSourceExtension<Object,Indexed,ClassAdministratorSource>
page
- Page to be setup for populating the PropertyList
.context
- AdministratorSourceExtensionContext
.public ClasspathProvision[] getClasspathProvisions()
ExtensionClasspathProvider
ClasspathProvision
instances for the extension.getClasspathProvisions
in interface ExtensionClasspathProvider
ClasspathProvision
instances for the extension.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.