Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.report.properties.details.extension
Class CustomReportDetailsPageExtension

java.lang.Object
  extended by de.cs3d.util.eclipse.extension.AbstractExtension<CustomReportDetailsPage,CustomReportDetailsPageFactory>
      extended by eu.esdihumboldt.hale.ui.views.report.properties.details.extension.CustomReportDetailsPageExtension
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ObjectExtension<CustomReportDetailsPage,CustomReportDetailsPageFactory>

public class CustomReportDetailsPageExtension
extends de.cs3d.util.eclipse.extension.AbstractExtension<CustomReportDetailsPage,CustomReportDetailsPageFactory>

Extension for CustomReportDetailsPages.

Author:
Kai Schwierczek

Field Summary
static String ID
          The extension point ID.
 
Method Summary
protected  CustomReportDetailsPageFactory createFactory(org.eclipse.core.runtime.IConfigurationElement conf)
           
 CustomReportDetailsPage getDetailPage(Class<? extends Report> reportType)
          Returns the registered detail page for the given report type.
It searches for registered pages for the specified type or any of its super types/interfaces.
static CustomReportDetailsPageExtension getInstance()
          Get the extension instance.
 
Methods inherited from class de.cs3d.util.eclipse.extension.AbstractExtension
createCollection, getFactories, getFactories, getFactories, getFactory, getFactoryCollections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
The extension point ID.

See Also:
Constant Field Values
Method Detail

getInstance

public static CustomReportDetailsPageExtension getInstance()
Get the extension instance.

Returns:
the custom report details page extension

createFactory

protected CustomReportDetailsPageFactory createFactory(org.eclipse.core.runtime.IConfigurationElement conf)
                                                throws Exception
Specified by:
createFactory in class de.cs3d.util.eclipse.extension.AbstractExtension<CustomReportDetailsPage,CustomReportDetailsPageFactory>
Throws:
Exception
See Also:
AbstractExtension.createFactory(IConfigurationElement)

getDetailPage

public CustomReportDetailsPage getDetailPage(Class<? extends Report> reportType)
Returns the registered detail page for the given report type.
It searches for registered pages for the specified type or any of its super types/interfaces. If there are multiple matches a random one is returned.
If no matching type is registered at all, null is returned.

Parameters:
reportType - the type in question
Returns:
a registered CustomReportDetailsPage for the given type or null if there is none

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d