org.eclipse.emfforms.internal.core.services.label
Class BundleResolverImpl

java.lang.Object
  extended by org.eclipse.emfforms.internal.core.services.label.BundleResolverImpl
All Implemented Interfaces:
BundleResolver

public class BundleResolverImpl
extends Object
implements BundleResolver

Implementation of the BundleResolver.

Author:
Eugen Neufeld

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emfforms.internal.core.services.label.BundleResolver
BundleResolver.NoBundleFoundException
 
Constructor Summary
BundleResolverImpl()
           
 
Method Summary
 org.osgi.framework.Bundle getEditBundle(org.eclipse.emf.ecore.EClass eClass)
          Retrieve the edit bundle for the passed EClass.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleResolverImpl

public BundleResolverImpl()
Method Detail

getEditBundle

public org.osgi.framework.Bundle getEditBundle(org.eclipse.emf.ecore.EClass eClass)
                                        throws BundleResolver.NoBundleFoundException
Retrieve the edit bundle for the passed EClass.

Specified by:
getEditBundle in interface BundleResolver
Parameters:
eClass - The EClass to get the edit bundle for
Returns:
the Bundle , never null
Throws:
BundleResolver.NoBundleFoundException - if no bundle could be found
See Also:
BundleResolver.getEditBundle(org.eclipse.emf.ecore.EClass)


Copyright © 2015. All Rights Reserved.