Book a Demo

Author Topic: UML profile and Trace connection  (Read 4047 times)

remek

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
UML profile and Trace connection
« on: December 10, 2008, 05:56:20 pm »
I am working on 734 and Oracle database.

I was trying to create new Toolbox including the extension of Trace connection.
I did the following:
  • <<profile>>package
  • <<metaclass>> Trace
  • <<stereotype>> MyConnection
  • made Association<<extend>> between MyConnection and Trace.
  • Create and import Profile.

I can see "stereotype Icon" and "MyConnection Label" in the new Toolbox.
MyConnection looks like element but not create a new element.

I did the same one more time but instead of <<metaclass>> Trace
I used <<metaclass>> Dependency.
Then everything work perfectly.

So my question is:
Are there any differences between Trace and Dependency?

BR
Remek

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML profile and Trace connection
« Reply #1 on: December 11, 2008, 09:18:41 am »
A trace is a stereotyped dependency. You could extend trace, but then it would have two stereotypes, «trace» and your own stereotype, which is fine except you cannot drop an element with more than one stereotype from EA's toolbox. Extending dependency is the better solution.
The Sparx Team
[email protected]

remek

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: UML profile and Trace connection
« Reply #2 on: December 11, 2008, 05:52:24 pm »
Why not disable the possibility of selecting <<trace>>  from "Create New Metaclass" window?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML profile and Trace connection
« Reply #3 on: December 12, 2008, 09:04:40 am »
Quote
Why not disable the possibility of selecting <<trace>>  from "Create New Metaclass" window?
You are correct, if it won't work it shouldn't be there. Could you send in a bug report please, and someone will be able to fix it. Thanks.
The Sparx Team
[email protected]