Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.io.config
Class ConfigurationPageExtension

java.lang.Object
  extended by de.cs3d.util.eclipse.extension.AbstractExtension<AbstractConfigurationPage<?,?>,ConfigurationPageFactory>
      extended by eu.esdihumboldt.hale.ui.io.config.ConfigurationPageExtension
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ObjectExtension<AbstractConfigurationPage<?,?>,ConfigurationPageFactory>

public class ConfigurationPageExtension
extends de.cs3d.util.eclipse.extension.AbstractExtension<AbstractConfigurationPage<?,?>,ConfigurationPageFactory>

Utilities for the configuration page extension point

Since:
2.5
Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
static String EXTENSION_POINT_ID
          Extension point ID
 
Method Summary
protected  ConfigurationPageFactory createFactory(org.eclipse.core.runtime.IConfigurationElement conf)
           
<P extends IOProvider>
com.google.common.collect.Multimap<String,AbstractConfigurationPage<? extends P,? extends IOWizard<P>>>
getConfigurationPages(Iterable<IOProviderDescriptor> descriptors)
          Get the configuration pages registered for the given I/O provider descriptors
static ConfigurationPageExtension getInstance()
          Get the configuration page 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

EXTENSION_POINT_ID

public static final String EXTENSION_POINT_ID
Extension point ID

See Also:
Constant Field Values
Method Detail

getInstance

public static ConfigurationPageExtension getInstance()
Get the configuration page extension instance

Returns:
the extension instance

createFactory

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

getConfigurationPages

public <P extends IOProvider> com.google.common.collect.Multimap<String,AbstractConfigurationPage<? extends P,? extends IOWizard<P>>> getConfigurationPages(Iterable<IOProviderDescriptor> descriptors)
Get the configuration pages registered for the given I/O provider descriptors

Type Parameters:
P - the IOProvider type used in the wizard
Parameters:
descriptors - the provider descriptors
Returns:
the configuration pages in a multimap where the corresponding provider identifier is mapped to the configuration page, one page (the same instance) might be mapped for multiple identifiers

Humboldt Alignment Editor 2.5.0

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