Package org.java.plugin.registry.Extension

Examples of org.java.plugin.registry.Extension.Parameter.valueAsString()


            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
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.