[Uml-devel] What is Refactor good for in u1?

Luis De la Parra Blum lparrab at gmx.net
Thu Apr 3 14:09:58 UTC 2003


On Thursday 03 April 2003 21:59, Sebastian Stein wrote:
> > this is called refactoring, and the refactoring assistant... well..
> > assists you do refactor =)
>
> Huh, isn't that the thing I normally modell in a class diagram?

no... 
of course you could achive the same results using the class diagram, but
it would take you much longer.

refactoring is not about making your whole modell (designing your classes 
there), it's more when you already have some classes, and you do some 
"redesign" work.
for example, you realize that UMLClass and UMLInterface should be related (not 
only as UMLObjects) so you refactor them: create UMLClassifier, move the 
common stuff up there.. then you might want to rename some attribute, or move 
it down/up the hierarchy.

all this you can do by opening the UMLClass class properties, removing and 
operation, and then opening UMLClassifier properties, and creating the 
operation there... or you use the assistant.

luis




More information about the umbrello-devel mailing list