Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.instance.extension.metadata.MetadataInfo
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable

public class MetadataInfo
extends Object
implements de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable

Represents a declared Metadata Info

Author:
Sebastian Reinhardt

Constructor Summary
MetadataInfo(String key, org.eclipse.core.runtime.IConfigurationElement conf)
          Create a metadata object from a configuration element.
 
Method Summary
 String getDescription()
           
 Class<? extends MetadataGenerator> getGenerator()
           
 URL getIconURL()
          Returns the URL of an Icon specified on the extention point.
 String getId()
           
 String getLabel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataInfo

public MetadataInfo(String key,
                    org.eclipse.core.runtime.IConfigurationElement conf)
Create a metadata object from a configuration element.

Parameters:
key - the data key
conf - the configuration element
Method Detail

getId

public String getId()
Specified by:
getId in interface de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
See Also:
IdentifiableExtension.Identifiable.getId()

getLabel

public String getLabel()
Returns:
the label

getDescription

public String getDescription()
Returns:
the description

getGenerator

public Class<? extends MetadataGenerator> getGenerator()
Returns:
the generator class

getIconURL

public URL getIconURL()
Returns the URL of an Icon specified on the extention point.

Returns:
the URL, or null if no Icon is specified

Humboldt Alignment Editor 2.5.0

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