Author Topic: Automate identifying and collecting superclasses  (Read 2326 times)

austin_hastings

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Automate identifying and collecting superclasses
« on: September 19, 2005, 01:17:44 pm »
Having just gone through this, forgive me if it's a FAQ (but I couldn't find it with the local forum search or with google):

I'd like to see a dialog box for migrating subclass details to a superclass.

The Generalize connector presents a dialog allowing the user to select methods, etc to override or extend in the subclass. That's a great start.

What I'd like to see is  some sort of "pull stuff out of my children" option for classes which have subclasses. So when I am merging two (or more) subclasses into a new parent, I can mouse-mouse-mouse and get all the data and methods either moved or copied up.

I'm thinking:

subclass  -  attribute-or-operation-name - move - copy

Where 'move' and 'copy' are checkboxes.

Comment?

=Austin

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Automate identifying and collecting superclass
« Reply #1 on: September 19, 2005, 02:05:20 pm »
Good idea!

Gets my vote!

Remember to formally report it to the Sparx support email address: [email protected].

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!