List<IDiagramPlugin> compressed = new ArrayList<IDiagramPlugin>();
List<IDiagramPlugin> uncompressed = new ArrayList<IDiagramPlugin>();
_pluginfiles.put(profileName, compressed);
_uncompressedPlugins.put(profileName, uncompressed);
for (String pluginName : profile.getPlugins()) {
IDiagramPlugin plugin = _pluginService.findPlugin(request,
pluginName);
if (plugin == null) {
_logger.warn("Could not find the plugin " + pluginName +
" requested by the profile " + profile.getName());
continue;
}
if (plugin.isCompressable()) {
compressed.add(plugin);
} else {
uncompressed.add(plugin);
}
}