StringBuilder str = new StringBuilder();
str.append("Navigate to ");
str.append(modelElement.getElementName());
IModelElement parent = modelElement.getElementParent();
if (parent instanceof ProfileAwareBeansComponent) {
ProfileAwareBeansComponent beans = (ProfileAwareBeansComponent) parent;
Set<String> profiles = beans.getProfiles();
str.append(" in profile");
if (profiles.size() > 1) {
str.append("s");
}