Is it possible to define an action that shows in the diagram editor context menu but have the action show up in the same group as the Sapphire.Add? (see screenshot)
Sure. In the location section of your action definition, specify "Sapphire.AddDeleteGroup" for the group. You may also need to use the location hints in the same section to further tune the location of the action with before and after constraints.
Thanks for the tip. I tried a couple of different ways here but not quite getting the expected behavior. Here is a couple of code snippets of my action and then the screenshots.
Please open a bug report. It looks like other actions in that context menu do not specify any constraints on their location, so when you added a constraint, the solver arranged the menu in an unexpected way.
Konstantin Komissarchik wrote on Thu, 05 April 2012 12:10
Please open a bug report. It looks like other actions in that context menu do not specify any constraints on their location, so when you added a constraint, the solver arranged the menu in an unexpected way.