Examples of activatePlugin()


Examples of net.sf.apptools.Platform.activatePlugIn()

      //Create the application platform
      Platform uip = GUILauncher.createPlatform(engine);
     
      //Open a plug-in
      GUILauncher.statusLabel.setText("Launching ProbeMaker GUI");         //$NON-NLS-1$
      uip.activatePlugIn(ProbeMakerUIPlugIn.class);            
     
      GUILauncher.statusLabel.setText("Auto-activating plug-ins"); //$NON-NLS-1$              
      uip.autoActivatePlugIns();  
     
      GUILauncher.showWorkbench(uip);
View Full Code Here

Examples of org.java.plugin.PluginManager.activatePlugin()

      Extension ext = it.next();
      PluginDescriptor descr = ext.getDeclaringPluginDescriptor();
      try {
        pluginManager.enablePlugin(descr, true);
        pluginManager.activatePlugin(descr.getId());
        ClassLoader classLoader = pluginManager.getPluginClassLoader(descr);
        loadPluginClass(ext.getParameter("class").valueAsString(), classLoader);
      } catch (PluginLifecycleException e) {
        throw new OsmosisRuntimeException("Cannot load JPF-plugin '" + ext.getId()
            + "' for extensionpoint '" + ext.getExtendedPointId() + "'", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.