When you create a SysML project, that profile takes over the right-click menu for Add New. Now lets say you add your own profile with some new terms in it and you want those to appear on the Add New menu in addition to the usual SysML elements.
There is a hidden trick to make this possible !
All you need is to:
- Add a stereotype to your profile, applicable to Project.
- Set the stereotype name to be the same as your profile name - thats the trick to make this work. The stereotype doesn't need to be applied - it just needs to exist.
- Modify the AddNewMenuStructure property on the project stereotyp. Those new menu entries will be added to the SysML Add New menu.
Of course this works for any profile that 'hijacks' the Add New menu - not just SysML.
Here's an example: