org.eclipse.ocl.examples.pivot.library
Class RegisteredContribution.AbstractDescriptor<C extends RegisteredContribution<C>>

java.lang.Object
  extended by org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor
      extended by org.eclipse.ocl.examples.pivot.library.RegisteredContribution.AbstractDescriptor<C>
All Implemented Interfaces:
RegisteredContribution<C>, RegisteredContribution.Descriptor<C>
Direct Known Subclasses:
StandardLibraryContribution.Descriptor
Enclosing interface:
RegisteredContribution<C extends RegisteredContribution<C>>

public abstract static class RegisteredContribution.AbstractDescriptor<C extends RegisteredContribution<C>>
extends org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor
implements RegisteredContribution.Descriptor<C>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.pivot.library.RegisteredContribution
RegisteredContribution.AbstractDescriptor<C extends RegisteredContribution<C>>, RegisteredContribution.AbstractRegistry<C extends RegisteredContribution<C>>, RegisteredContribution.Descriptor<C extends RegisteredContribution<C>>, RegisteredContribution.Registry<C extends RegisteredContribution<C>>
 
Field Summary
protected  C contribution
           
 
Fields inherited from class org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor
attributeName, element
 
Constructor Summary
RegisteredContribution.AbstractDescriptor(org.eclipse.core.runtime.IConfigurationElement e, java.lang.String attrName)
           
 
Method Summary
protected abstract  C createContribution()
           
 C getContribution()
           
 org.eclipse.core.runtime.IConfigurationElement getElement()
           
 
Methods inherited from class org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor
createInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contribution

protected C extends RegisteredContribution<C> contribution
Constructor Detail

RegisteredContribution.AbstractDescriptor

public RegisteredContribution.AbstractDescriptor(org.eclipse.core.runtime.IConfigurationElement e,
                                                 java.lang.String attrName)
Method Detail

createContribution

protected abstract C createContribution()

getElement

public org.eclipse.core.runtime.IConfigurationElement getElement()
Specified by:
getElement in interface RegisteredContribution.Descriptor<C extends RegisteredContribution<C>>

getContribution

public C getContribution()
Specified by:
getContribution in interface RegisteredContribution<C extends RegisteredContribution<C>>