Book a Demo

Author Topic: UML patterns and naming  (Read 3155 times)

vfarnam

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Trolls be here
    • View Profile
UML patterns and naming
« on: March 30, 2003, 05:17:28 pm »
Hello All,
As a newbie  :P I am trying to define a UML pattern where the classes contain constructors. How do I get the constructors to change name when I use pattern and rename classes?
Virgil Farnam
[email protected]

EmmaN

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
  • Sparx Support
    • View Profile
Re: UML patterns and naming
« Reply #1 on: April 07, 2003, 12:25:40 am »
Hi

Not sure if this is what you mean, but hopefully it might help...

When you define the pattern, you can check on the elements to prompt for a name on create. Ie. you can ask EA to prompt you for a parameter for any of the elements you checked when you created the pattern. This is in the Save Diagram as UML Pattern window.

You can get to this window by clicking on the background of the class diagram, then selecting Save as UML Pattern.

Hope this helps!