* IColorProvider interface the foreground color from the provider is
* returned otherwise null is returned
*/
public Color getForeground(Object object) {
ProjectElementAdapter projectElementAdapter = ((ProjectElementAdapter) object);
IGenericProjectElement backingObject = projectElementAdapter.getBackingObject();
if (backingObject == null) {
return null;
}
String extensionId = backingObject.getExtensionId();
IConfigurationElement extension = findExtension(extensionId);
String labelProviderAtt = extension.getAttribute(LABEL_PROVIDER_ATT);
Color color = null;
if (labelProviderAtt != null) {
try {