ext.getDeclaringPluginDescriptor());
// Load Tool class.
Class<?> importCls = classLoader.loadClass(
ext.getParameter("class").valueAsString());
// Create Tool instance.
VisualizerProviderInterface visualizerProvider = (VisualizerProviderInterface) importCls.newInstance();
// Initialize class instance according to interface contract.
visualizerProvider.init(this);
} catch (Throwable t) {
displayPluginLoadErrorMsg(t, ext);
}
}
}