IToolBehaviorProvider tb = getConfigurationProvider().getDiagramTypeProvider().getCurrentToolBehaviorProvider();
IContextMenuEntry[] contextMenuEntries = tb.getContextMenu(context);
// the last one is an add menu; lets move it to a different group
int lastIndex = contextMenuEntries.length - 1;
IContextMenuEntry addEntries = contextMenuEntries[lastIndex];
addEntry(manager, addEntries, context, GEFActionConstants.GROUP_ADD, null);
addActionToMenuIfAvailable(manager, RemoveAction.ACTION_ID, GEFActionConstants.GROUP_ADD);
IFeatureProvider fp = getConfigurationProvider().getFeatureProvider();
//IFeatureProvider fp = addEntries.getFeature().getFeatureProvider();