fFeedSearchUrl = loadFeedSearchUrl();
}
private void loadShareProviders() {
IExtensionRegistry reg = Platform.getExtensionRegistry();
IConfigurationElement elements[] = reg.getConfigurationElementsFor(SHARE_PROVIDER_EXTENSION_POINT);
/* For each contributed property keyword feed */
for (int i = 0; i < elements.length; i++) {
IConfigurationElement element = elements[i];
String id = element.getAttribute("id"); //$NON-NLS-1$
String name = element.getAttribute("name"); //$NON-NLS-1$
String iconPath = element.getAttribute("icon"); //$NON-NLS-1$
String url = element.getAttribute("url"); //$NON-NLS-1$
String maxTitleLength = element.getAttribute("maxTitleLength"); //$NON-NLS-1$
String enabled = element.getAttribute("enabled"); //$NON-NLS-1$
boolean isEnabled = (enabled != null && Boolean.parseBoolean(enabled));
fShareProviders.add(new ShareProvider(id, element.getNamespaceIdentifier(), i, name, iconPath, url, maxTitleLength, isEnabled));
}
}