Package org.java.plugin.registry.Extension

Examples of org.java.plugin.registry.Extension.Parameter


                  PluginDescriptor descr = ext.getDeclaringPluginDescriptor();
                 
                  this.getPluginManager().activatePlugin(descr.getId());
           
            // extracting parameters
            Parameter classParam = ext.getParameter(PluginCore.PARAMETER_CLASS);
           
            // extracting plugin class or builder clas
            ClassLoader classLoader = this.getPluginManager().getPluginClassLoader(descr);
                  Class pluginClass = null// class for the plugin (InferenceAlgorithmOptionPanel)
                  pluginClass = classLoader.loadClass(classParam.valueAsString());
           
                  // intantiating plugin object
              InferenceAlgorithmOptionPanel algorithmOptionPanel = null;
              algorithmOptionPanel = (InferenceAlgorithmOptionPanel)pluginClass.newInstance();
             
View Full Code Here

TOP

Related Classes of org.java.plugin.registry.Extension.Parameter

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.