}
} else if (element instanceof Feature) {
final Feature feature = (Feature) element;
return feature.getName();
} else if (element instanceof Bundle) {
final Bundle bundle = (Bundle) element;
final String label;
if (bundle.getBundleUrl().startsWith(MVN_URL_PREFIX)) {
final String[] bundleComponents = bundle.getBundleUrl().split("/"); //$NON-NLS-1$
label = bundleComponents[1];
} else {
label = element.toString();
}