org.eclipse.emf.ecp.internal.ui.util
Class HandlerHelperUtil

java.lang.Object
  extended by org.eclipse.emf.ecp.internal.ui.util.HandlerHelperUtil

public final class HandlerHelperUtil
extends Object

Utility methods for helpers which shall not be exposed as API.

Author:
jfaltermeier

Method Summary
static
<T> Class<T>
loadClass(String bundleName, String clazz)
          Loads the specified class from the given bundle.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadClass

public static <T> Class<T> loadClass(String bundleName,
                                     String clazz)
                          throws ClassNotFoundException
Loads the specified class from the given bundle.

Type Parameters:
T - the type of the class to load
Parameters:
bundleName - the bundle name
clazz - the class name
Returns:
the loaded class
Throws:
ClassNotFoundException - in case the class could not be loaded


Copyright © 2015. All Rights Reserved.