eu.esdihumboldt.hale.common.instance.extension.metadata
Class MetadataInfo
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataInfo
public MetadataInfo(String key,
org.eclipse.core.runtime.IConfigurationElement conf)
- Create a metadata object from a configuration element.
- Parameters:
key
- the data keyconf
- the configuration element
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
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d