ext.getDeclaringPluginDescriptor());
// Load Tool class.
Class<?> importCls = classLoader.loadClass(
ext.getParameter("class").valueAsString());
// Create Tool instance.
VisualizerPluginProviderInterface visualizerPluginProvider = (VisualizerPluginProviderInterface) importCls.newInstance();
// Initialize class instance according to interface contract.
visualizerPluginProvider.init(null, parentWindow);
} catch (Throwable t) {
log.error(t.getMessage());
}
}
}