Package de.hpi.eworld.core.extensionpoints

Examples of de.hpi.eworld.core.extensionpoints.GUIProviderInterface


      try {
        // Activate plug-in that declares extension.
        getManager().activatePlugin(ext.getDeclaringPluginDescriptor().getId());
        Class<?> toolCls = loadPlugin(ext);
        // Create Tool instance.
        GUIProviderInterface guiProvider = (GUIProviderInterface) toolCls.newInstance();
        // Initialize class instance according to interface contract.
        guiProvider.init(MainWindow.getInstance());
      } catch (Throwable t) {
        displayPluginLoadErrorMsg(t, ext);
      }
    }
  }
View Full Code Here

TOP

Related Classes of de.hpi.eworld.core.extensionpoints.GUIProviderInterface

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.