[Uml-devel] Association Combined patch - Umbrello 1.1.1

Jonathan Riddell jr at jriddell.org
Mon Feb 10 12:50:04 UTC 2003


Patch was too big for list and is available at
http://uml.sourceforge.net/developers/assoc_combo.patch.bz2

---------- Forwarded message ----------
Date: Mon, 10 Feb 2003 15:47:13 -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: Association Combined patch - Umbrello 1.1.1

	Hi all,

	I didnt want to really follow my own advice and separate out
	the UMLAssociation class from the package. So after spending some
	thought, I managed to come up with a way to integrate UMLAssociation
	into the AssociationWidget class. Also, old XMI files (1.1 version at least)
	appear to be reading in properly, so we  have need compatability.

	I have rolled Oliver's association patch with my own associationwidget
	changes and made a combined patch versus vanilla 1.1.1 so that you dont
	have to collect and apply the prior 3 patches before you can apply this one.

	I can supply a patch versus the other patches if that is desired however.
	One change that I want to mention: I didnt like (and was having problems with)
	the passing of associations to the codegenerators ala the getSpecificAssocs
	method in concept.cpp. Previously it was passing back a const pointer to
	a QPtrList of UMLAssociations. The problem being that if you called QPtrList
	again before being finished the the first instance of the list, it would be changed
	to whatever the new requested list of associations was. Now, I have the method
	simply return an instance (rather than a pointer to a common variable which is
	changed each time the method is called). I'll admit my C++ skills are not what they
	used to be, so if someone familiar with this part of the code could look at the
	changes I made that would be great. Nevertheless, the changed code does work
	fine with current codegenerators.

	Now, I am off to assemble my javacodegenerator patch. Back with that in about
	a week or so (im on vacation for the rest of this week starting tues!!).


							=b.t.


-- 

  * Dr. Brian Thomas

  * Code 630.1
  * Goddard Space Flight Center NASA

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

Classical music is the kind we keep thinking will turn into a tune.
		-- Kin Hubbard, "Abe Martin's Sayings"






More information about the umbrello-devel mailing list