{
MimeTypes.ACTIVITY_ITEM
}, Association.PRIMARY, "");
// Get the set of visual types from the UIAdapterRegisty.
UIAdapterDescriptorRegistry registry = UIAdapterDescriptorRegistry.getInstance();
String[] visualTypes = registry.getVisualTypes();
for (int i = 0; i < visualTypes.length; i++)
{
String visualType = visualTypes[i];
String visualSource = registry.getVisualPath(visualType, getVisualId(), getModel());
associations = AssociationUtil.addAssociation(associations, - 1, registry.getDisplayText(visualType,
UIAdapterDescriptor.ASSOCIATION_DISPLAY_NAME), visualSource, this, registry.getMimeTypes(visualType), Association.NORMAL, registry
.getDisplayText(visualType, UIAdapterDescriptor.ASSOCIATION_HINT_MESSAGE));
}
associations = AssociationUtil.addAssociations(associations, - 1, super.getAssociations());