Book a Demo

Author Topic: Change interface to class  (Read 2583 times)

CircuitGimp

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Change interface to class
« on: January 26, 2006, 09:29:49 am »
I'm building up a model... and thinking as I'm building.

A few times I've decided a class is preferable to an interface I've already made, is there a way to change that interface in to a class, preserving all the notes, relationships etc. associated with it?

Thanks  :)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Change interface to class
« Reply #1 on: January 26, 2006, 02:09:17 pm »
Quote
I'm building up a model... and thinking as I'm building.

A few times I've decided a class is preferable to an interface I've already made, is there a way to change that interface in to a class, preserving all the notes, relationships etc. associated with it?

Thanks  :)


Try "Element | Advanced | Change Type" and choose "Class" from the list. Don't forget to open up the properties dialog of your new class and clear the "Abstract" checkbox and remove the "interface" stereotype.
The Sparx Team
[email protected]

CircuitGimp

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Change interface to class
« Reply #2 on: January 27, 2006, 02:13:47 am »
Just the job, thank u!  ;D