Author Topic: changing abstract method not changing implementors  (Read 3519 times)

curvers

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
changing abstract method not changing implementors
« on: October 07, 2012, 07:34:26 pm »
how can i update the implementors of an abstract method automatically when the method signature changes ?

if i have a few classes inhereting the method from the abstract class then i would expect, all child to be updated by default when changing the abstract methods signature
« Last Edit: October 07, 2012, 07:48:30 pm by curvers »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: changing abstract method not changing implemen
« Reply #1 on: October 08, 2012, 07:18:57 pm »
No that doesn't happen automatically.

You will have to do that manually for each subclass.

Geert

curvers

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: changing abstract method not changing implemen
« Reply #2 on: October 08, 2012, 07:22:02 pm »
Quote
No that doesn't happen automatically.

You will have to do that manually for each subclass.

Geert

aw, sucks

alex

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: changing abstract method not changing implemen
« Reply #3 on: October 08, 2012, 07:27:07 pm »
Alex,

I guess you know about the Ctrl-Shift-O to bring up the "Overrides and Implements" dialog?

You could of course write a script or add-in to update the implementing operations, but I'm not sure if its going to be worth the trouble.

Geert

curvers

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: changing abstract method not changing implemen
« Reply #4 on: October 08, 2012, 08:14:40 pm »
Quote
Alex,

I guess you know about the Ctrl-Shift-O to bring up the "Overrides and Implements" dialog?

You could of course write a script or add-in to update the implementing operations, but I'm not sure if its going to be worth the trouble.

Geert

nope this newbie wasnt aware of that shortcut ...thanks Geert! im gona use that and put in a feature request.

Alex

curvers

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: changing abstract method not changing implemen
« Reply #5 on: October 08, 2012, 09:25:56 pm »
ok tried it and yeah knowing that option makes it a lot easier! ty!