[Uml-devel] umbrello kpart

Jonas B. Jacobi jonas.jacobi at web.de
Mon Jun 23 08:30:11 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey ho!

> Integrating it into kdevelop is a lot more
> work, it would involve serous changes to the code base like the
> internal storage of classes etc.
I am not familiar yet with umbrellos internal storing of classes, but as it 
has to be UML compliant there should be no change needed imho. KDevelop 
provides you with the complete abstract syntaxtree(AST) of the code you are 
working on, so if i am not wrong, one should "only" need to have a layer 
between kdevelops AST and umbrellos class storing, which translates in both 
directions. This makes code refactoring not that hard, as changes in the 
diagram "only" have to be mapped (with the layer) to changes in the ast, 
which get translated to changes in the files by kdevelop and vice versa.
At least that was the idea i had :).

> Improving adding/changing operations/attributes sounds interesting.
> Can you give us more of an idea of what you're thinking of?  
I am thinking of ways to make changing of operations/attributes faster, as atm 
it is quite slow imho. You have to click through various dialogs with various 
comboboxes and lineedits for type, name, value ... for example to add a new 
operation one has to use the operation dialog, in there, add (via a dialog) 
every parameter and so on.
So one solution to this would be to be able to doubleclick a 
operation/attribute in the class diagram -> a lineedit appears instead of the 
operation and one can edit the text inside the lineedit(which has to be 
checked for uml compliance then, of course, and then has to be translated to 
the internal storage). An other solution could be to have a widget on the 
bottom, which contains a "property dialog" and whenever one clicks e.g. on an 
operation all the properties (type/name/parameters...) appear in this dialog. 
Now one can click on a parameter->it's properties appear in that dialog etc 
... I hope you get what i mean :).
Thx for you reply.
Yours,
Jonas
PS:Keep up the good work :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+9xx++DjDRZnztNYRAg2MAJ9gAp/uEDSVvylYKxtAIkXAFbkbSACfa2DZ
MDIX0TVmJCHczvUD2vUrkvk=
=FPRU
-----END PGP SIGNATURE-----




More information about the umbrello-devel mailing list