Package de.hpi.eworld.networkview.extensionpoints

Examples of de.hpi.eworld.networkview.extensionpoints.EventHandlerProviderInterface


        // Get plug-in class loader.
        final ClassLoader classLoader = getManager().getPluginClassLoader(ext.getDeclaringPluginDescriptor());
        // Load Tool class.
        final Class<?> eventHandlerCls = classLoader.loadClass(ext.getParameter("class").valueAsString());
        // Create Tool instance.
        final EventHandlerProviderInterface eventHandlerProvider = (EventHandlerProviderInterface) eventHandlerCls.newInstance();
        // Initialize class instance according to interface contract.
        eventHandlerProvider.init(graphView);
      } catch (final Throwable t) {
        displayPluginLoadErrorMsg(t, ext);
      }
    }
  }
View Full Code Here

TOP

Related Classes of de.hpi.eworld.networkview.extensionpoints.EventHandlerProviderInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.