// project is not supported (propertyPage.getProject() == null for workspace prefs).
IPath pluginPath = FindBugsWorker.getFilterPath(idOrPath, null);
URI uri = pluginPath.toFile().toURI();
customPlugins.add(uri);
ValidationStatus status = validator.validate(pluginPath.toOSString());
PathElement element = new PathElement(pluginPath, status);
Plugin plugin = Plugin.getByPluginId(status.getSummary().id);
if(plugin != null && !uri.equals(plugin.getPluginLoader().getURI())) {
// disable contribution if the plugin is already there
// but loaded from different location
element.setEnabled(false);
} else {