Some object menu items should be selectable for groups
Submitted by Lars Clausen
Currently, object menu items are only active when single (non-grouped) objects are selected. Some menu items do make sense to apply for multiple objects, e.g. on FS flows, the flow type can be set from the menu. It would be very practical to be able to set such on a number of items at the same time.
Problem 1: Which menu items make sense? Solution: Change the activate field in DiaMenu to be flags, with ACTIVATE and GROUPABLE flags.
Problem 2: What if there are different kinds of objects selected? Solution 1: Only activate when all selected objects are the same type. Solution 2 (complex): Tie in the properties system to allow the same kind of property to be set. May require a property flag, has a problem of how do you know which object has which property.
Version: CVS head