Updating the XSL documents

2004-10-11 Thread Dave Klotzbach
I have been working for a while on updating the UML-C++ Xsl style sheet. I have reach a point where I think it may be ready for prime time. What is the next step? ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list

How do I?

2004-10-31 Thread Dave Klotzbach
In the fall of 2004, I started to use the UML portion of this dia program in earnest. I had been using several commercial programs in my work and wanted something I could use for my "home" projects. Even though Dia was advertised as having complete support for the UML static structures, I found tha

Artifacts when moving objects

2004-11-04 Thread Dave Klotzbach
I have been working on some UML changes and noticed that when I move a class which has an association connected to it, it leaves little mouse dropping behind. This appears to be caused by annotating the role name with the visibility character. These visibility characters were being added by my most

RE: generate source files from UML

2005-02-16 Thread Dave Klotzbach
Actually, the feature is already there. It works from the XSL export. The version existing in version 0.94 and earlier generates python, java and some c++, I have submitted an enhancement that supports C++ more fully which should be available on the next release. You can take the patches from http

Placement of declarations

2005-07-19 Thread Dave Klotzbach
The latest CVS updates contain many instances where variables are being declared after executable statements. While this is acceptable in some compilers such as C++, it is not legal in many legacy compilers. Are we expected to be able to compile with legacy compilers or should these occurr

More compiler errors

2005-09-05 Thread Dave Klotzbach
From the latest CVS we have the following C++ constructs in C code. This causes compiler errors on any real C compiler!   1. From ->objects\standard\textobj.c(269) : error C2275: 'Point' : illegal use of this type as an _expression_   static void textobj_update_data(Textobj *textobj)

RE: writing a code generator

2005-09-26 Thread Dave Klotzbach
Take a look in the XSLT subdirectory of your installation for examples of translations from UML to various forms. I recently submitted some additional translators you should be able to find in the CVS as well. If you have specific questions I will be willing to make comments. -Original Message

Patches submitted for Bug 303744

2005-11-04 Thread Dave Klotzbach
For those who may be using the UML plug-in for Dia, I have today submitted patches to implement multiline comments in the UMLClass. Not only will it allow multiline comments now, it will allow you to set a maximum width of the comment on display. I also corrected the way the comment are d

RE: Patches submitted for Bug 303744

2005-11-05 Thread Dave Klotzbach
PROTECTED] On Behalf Of Lars Clausen Sent: Saturday, November 05, 2005 11:46 AM To: discussions about usage and development of dia Subject: Re: Patches submitted for Bug 303744 On Fri, 2005-11-04 at 20:08 -0600, Dave Klotzbach wrote: > For those who may be using the UML plug-in for Dia, I h

RE: Patches submitted for Bug 303744

2005-11-06 Thread Dave Klotzbach
submitted for Bug 303744 On Sat, 2005-11-05 at 14:03 -0600, Dave Klotzbach wrote: > If the goal is to make the UML part of DIA compliant with UML, then > the tag must be used for comment. I also find the tag long, but I have > a goal of making the UML plug-in as compliant as possible and

RE: Patches submitted for Bug 303744

2005-11-06 Thread Dave Klotzbach
Sun, 2005-11-06 at 11:49 -0600, Dave Klotzbach wrote: > I also corrected the way the comment are displayed. In UML comments > are to be displayed as {documentation = ...} tags. With these patches > dia now does this correctly for UMLClass objects. ... > The specification for UML ar

RE: Patches submitted for Bug 303744 UML Class changes

2005-11-06 Thread Dave Klotzbach
Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Clausen Sent: Sunday, November 06, 2005 1:57 PM To: discussions about usage and development of dia Subject: RE: Patches submitted for Bug 303744 On Sun, 2005-11-06 at 11:49 -0600, Dave Klotzbach wrote:

RE: body in methods of UML - Classes

2005-11-11 Thread Dave Klotzbach
I am some what familiar with UML but do not remember a body property. Could you explain? Dia currently can generate the code templates from class diagrams using the XSL export feature. Since I have been working on enhancements to both the XSL and UML diagrams maybe I can help. -Original Mess

RE: Code Generator

2005-11-11 Thread Dave Klotzbach
Dia does have a code generator in for UML Class diagrams. You export the document using XSL an then select the target language. Here are the steps: 1. Save the diagram as a .dia like normal. Select file->save etc. 2. Export: select file->export 3. In the export dialog under export options, s

RE: Class ids and connections

2006-01-25 Thread Dave Klotzbach
Look in the XLST sub directory of the installed DIA. There are several XLS documents there that are used for code generation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leitch, David Sent: Wednesday, January 25, 2006 7:41 AM To: dia-list@gnome.org Su