Book a Demo

Author Topic: Transfer of operations from Interface to Class  (Read 3909 times)

penses

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Transfer of operations from Interface to Class
« on: October 15, 2002, 02:52:35 pm »
Is there an easy way to automatically transfer the declared operations of an interface into a class that is marked as realizing it?  
So far I've been forced to complete this by hand, and not to mention the extra work if the spec changes over time.

jkorman

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Transfer of operations from Interface to Class
« Reply #1 on: October 16, 2002, 08:43:56 am »
It would be nice to have a "implement inherited methods"

but you can do it a little faster by

  1. Have a class diagram open with the "implementing" class dispayed
  2. Click and drag the method name from the Project Browser and
  3. drop the method name on the "implementing" class

Jim

AdamHearn

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: Transfer of operations from Interface to Class
« Reply #2 on: October 20, 2002, 05:40:48 am »
I commented on this a while back (Sparx never responded either way). Visio (yeah I know!) has a quite a neat way for this. Basically it lists all inherited methods and allows the class to implment one by checking it! Dead simple!

I posted a bit more of a description on how it may possible work - search for my previous posts if you want.


mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Transfer of operations from Interface to Class
« Reply #3 on: October 22, 2002, 12:57:18 am »
Version 3.50 has this feature. A beta can be downloaded from the registered users' pages.

Mikkel

jkorman

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Transfer of operations from Interface to Class
« Reply #4 on: October 24, 2002, 07:23:37 pm »
Great  :)

This new release catches me right before my 1 year upgrade point.

No question about it.

Jim

AdamHearn

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: Transfer of operations from Interface to Class
« Reply #5 on: October 25, 2002, 12:26:35 pm »

Quote
Version 3.50 has this feature. A beta can be downloaded from the registered users' pages.

Mikkel
Excellent news!

Thanks to Sparx - nice to know user comments (or good ideas) eventually filter through!