Last Updated:

Adding Stereotyped Elements to Drawing Toolbars

Andy Lapping Tip

If you've been through my free class on Simplifying Rhapsody Through Profiling and Automation then you already know that you can customise the Rhapsody drawing toolbars and add new term stereotypes to it. But did you know that also works for non-new term stereotypes ? 

That's right you can add any stereotype to a drawing toolbar using the xxxDiagramToolbar properties and then using that tool on a diagram will create a new model element with that stereotype applied. For example here I've customised the Use Case Diagram toolbar to include the <<trace>> depedendency - even though that isn't a new term - note the use of RpyDefault to also include the out of the box drawing tools for that diagram: