Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.extension.metadata
Class MetadataActionExtension

java.lang.Object
  extended by de.cs3d.util.eclipse.extension.AbstractExtension<MetadataAction,MetadataActionFactory>
      extended by eu.esdihumboldt.hale.common.instance.extension.metadata.MetadataActionExtension
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.ObjectExtension<MetadataAction,MetadataActionFactory>

public class MetadataActionExtension
extends de.cs3d.util.eclipse.extension.AbstractExtension<MetadataAction,MetadataActionFactory>

Extension for MetadataActions

Author:
Sebastian Reinhardt

Nested Class Summary
static class MetadataActionExtension.ConfigurationFactory
          MetadataAction factory based on an IConfigurationElement
 
Constructor Summary
MetadataActionExtension()
          default constructor
 
Method Summary
protected  MetadataActionFactory createFactory(org.eclipse.core.runtime.IConfigurationElement conf)
           
static MetadataActionExtension getInstance()
          Get the extension instance
 List<MetadataActionFactory> getMetadataActions(String key)
          Creates a list of all MetadataActionFactorys for a certain key defined at the extension point
 
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
 

Constructor Detail

MetadataActionExtension

public MetadataActionExtension()
default constructor

Method Detail

getInstance

public static MetadataActionExtension getInstance()
Get the extension instance

Returns:
the extension

createFactory

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

getMetadataActions

public List<MetadataActionFactory> getMetadataActions(String key)
Creates a list of all MetadataActionFactorys for a certain key defined at the extension point

Parameters:
key - the meta data key
Returns:
the list of action factorys

Humboldt Alignment Editor 2.5.0

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