[Uml-devel] Patch to create UMLClass class from UMLConcept and etc. (fwd)

Jonathan Riddell jr at jriddell.org
Wed Mar 12 17:18:08 UTC 2003


Attachments were too large for list.  They've been committed to CVS now.
UMLConcept changed to UMLClassifier

Many thanks Brian, hope you caught your beer.

Jonathan
---------- Forwarded message ----------
Date: Wed, 12 Mar 2003 17:13:46 -0500
From: Brian Thomas <thomas at mail630.gsfc.nasa.gov>
Reply-To: thomas at adc.gsfc.nasa.gov
To: umbrello-devel at kde.org
Subject: Patch to create UMLClass class from UMLConcept and etc.
Resent-Date: Wed, 12 Mar 2003 14:19:17 -0800
Resent-From: <umbrello-devel-admin at kde.org>
Resent-To: jr at jriddell.org


	Hi, back again.

	I've put together a patch, as I previously mentioned, to change the inheritance of
	the UMLConcept and UMLInterface classes AND to create a proper UMLClass class.

	The classes relate to one another as previously mentioned, ie.:

              UMLCanvasObject
                              /\
                               |
               UMLConcept
                           /\
                            |
               -------------------------
               |                              |
 UMLClass                   UMLInterface

	UMLConcept is now an abstract class. By making this change, we now have the ability
	to pass BOTH UMLClasses and UMLInterfaces to the codegeneration code. Previously,
 	there was no such thing as a UMLClass, all UML classes where known as "UMLConcepts"
	and that was the only thing being passed to the code generators. (I hope that para is clear ..
  	wording does seem awkward...)

	This seemingly simple change propagates heavily throughout the codebase. I have tried to
	be carefull in changing the code to meet the new standard, and have tested it out with a variety
	of class diagrams, but Im sure that regardless of my care and effort some bugs will probably
	arise from such a big patch so please be on the lookout.

	As before, CVS wont let you do a proper "-urN" (you cant create new files) so I am attaching
	the new "class", "classwidget" and "classwidgetdata" classes along with the patch for the
	existing files. The patch is good against the CVS (KDE) archive as of 5 pm EDT. Please be
	aware that the old conceptwidget classes _should be removed_ from CVS. Affected files are:

	conceptwidget.h
	conceptwidget.cpp
	conceptwidgetdata.h
	conceptwidgetdata.cpp

	Thats all for now. Off to catch a beer!!

								=b.t.


-- 

  * Dr. Brian Thomas

  * Code 630.1
  * Goddard Space Flight Center NASA

  *   fax: (301) 286-1771
  * phone: (301) 286-6128

	The birds are singing, the flowers are budding, and it is time
for Miss Manners to tell young lovers to stop necking in public.
	It's not that Miss Manners is immune to romance.  Miss Manners
has been known to squeeze a gentleman's arm while being helped over a
curb, and, in her wild youth, even to press a dainty slipper against a
foot or two under the dinner table.  Miss Manners also believes that the
sight of people strolling hand in hand or arm in arm or arm in hand
dresses up a city considerably more than the more familiar sight of
people shaking umbrellas at one another.  What Miss Manners objects to
is the kind of activity that frightens the horses on the street...






More information about the umbrello-devel mailing list