[OpenLayers-Dev] uml class diagram

Emanuel Schütze emanuel at intevation.de
Tue Apr 24 12:25:08 EDT 2007


> Can someone export this as an image ?
A little bit redesigned... in eps and png format.
Regards,
Emanuel


> Regards
>
> Pierre
>
> On 4/23/07, Emanuel Schütze <emanuel at intevation.de> wrote:
> > Many thanks, Erik!!! That's exactly what I wanted... Perfect!
> > Best regards,
> > Emanuel
> >
> > On Monday 23 April 2007 17:47, "Erik Uzureau"
> > <erik.uzureau at metacarta.com>
> >
> > wrote:
> > > OK, I have built a basic UML class model for OL. It is mostly just
> > > inheritance, with
> > > a few other notes. Having done this exercise, it is readily apparent
> > > that the obvious
> > > solution is to have some way to transform ol js -> xmi class
> > > definitions. Doing the
> > > inheritance by hand is not so hard, it's importing all the damn class
> > > names which
> > > is a pain. Also, if we can find a way to do it automatically, it will
> > > also give us the properties
> > > for each class, which will be very nice.
> > >
> > >
> > > Merry Christmas,
> > > Erik
> > >
> > > On 4/23/07, Emanuel Schütze <emanuel at intevation.de> wrote:
> > > > Hi Erik,
> > > > I only know the free linux tools umbrello and argoUML [1]; both have
> > > > an UMI
> > > > export. argoUML runs also on windows and mac os.
> > > >
> > > > Emanuel
> > > >
> > > > [1] http://argouml.tigris.org/
> > > >
> > > > On Monday 23 April 2007 15:29, Erik Uzureau wrote:
> > > > > If all you need are the classnames and the inheritance, it should
> > > > > be
> > > >
> > > > pretty
> > > >
> > > > > simple... we have tried as much as possible to use the directory
> > > >
> > > > hierarchy
> > > >
> > > > > to model the class hierarchy. There are several exceptions in the
> > > > > Layer directory (many layers subclass HTTPRequest and/or Grid) and
> > > > > maybe one
> > > >
> > > > or
> > > >
> > > > > two in Control.... otherwise it is pretty straightforward.
> > > > >
> > > > > If i knew how to produce UMI I might even give it a shot myself.
> > > > > --erik
> > > > >
> > > > > On 4/23/07, Emanuel Schütze <emanuel at intevation.de> wrote:
> > > > > > Thanks for the xmi document, Cameron.
> > > > > > Is there somebody who has time to model such an uml class diagram
> > > >
> > > > (like
> > > >
> > > > > > Cameron's) for the complete code of OL? It would be really great!
> > > > > > ;-) I think, only the class names and the inheritances will
> > > > > > suffice.
> > > > > >
> > > > > > Regards,
> > > > > > Emanuel
> > > > > >
> > > > > > On Saturday 21 April 2007 23:07, Cameron Shorter wrote:
> > > > > > > Emanuel,
> > > > > > > I'd love to have UML exports of JS projects like OpenLayers.
> > > > > > > UML diagrams provide a fast way for a new developer to quickly
> > > > > > > get an understanding about the structure of a software package
> > > > > > > and find the part that they want to work on or use.
> > > > > > >
> > > > > > > A few of us manually created a UML model for the vector
> > > > > > > graphics
> > > >
> > > > branch
> > > >
> > > > > > > of OpenLayers before we wrote it. I don't think it will be of
> > > > > > > much
> > > >
> > > > use
> > > >
> > > > > > > to you because it is now out of date (we didn't update it as we
> > > >
> > > > wrote
> > > >
> > > > > > > the code) and it only covers the vector components of
> > > > > > > Openlayers.
> > > > > > >
> > > > > > > However you are welcome to look at it. It is in the universal
> > > > > > > XMI format, created with Umbrello (available on linux).
> > > >
> > > > http://svn.codehaus.org/mapbuilder/trunk/mapbuilder/mapbuilder/design
> > > >/uml
> > > >
> > > > > >/g
> > > > > >
> > > > > > >raphics.xmi
> > > > > > >
> > > > > > > Emanuel Schütze wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I'm searching for an uml class diagram of the OL code. Is
> > > > > > > > there
> > > > > >
> > > > > > anybody
> > > > > >
> > > > > > > > who has created or wants to create such an useful diagram?
> > > > > > > >
> > > > > > > > Is there any tool who can generate uml from JavaScript?
> > > > > > > > Michael
> > > > > >
> > > > > > Mathews,
> > > > > >
> > > > > > > > a guy who currently implements jsdoc2 [1], wrote me that the
> > > >
> > > > current
> > > >
> > > > > > > > version of jsdoc2 can already output xml. But he didn't know
> > > > > > > > if
> > > >
> > > > there
> > > >
> > > > > > a
> > > > > >
> > > > > > > > way to convert xml to uml.
> > > > > > > > A first uml export might come in jsdoc2 perhaps in july or
> > > > > > > > later. Unfortunately it's to late for me, because I need it
> > > > > > > > for my thesis
> > > > > >
> > > > > > until
> > > > > >
> > > > > > > > end of may.  It would be great if somebody can help me.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Emanuel
> > > > > > > >
> > > > > > > > [1] http://code.google.com/p/jsdoc-2/
> > > > > > > > _______________________________________________
> > > > > > > > Dev mailing list
> > > > > > > > Dev at openlayers.org
> > > > > > > > http://openlayers.org/mailman/listinfo/dev
> > > > > >
> > > > > > _______________________________________________
> > > > > > Dev mailing list
> > > > > > Dev at openlayers.org
> > > > > > http://openlayers.org/mailman/listinfo/dev
> > > >
> > > > _______________________________________________
> > > > Dev mailing list
> > > > Dev at openlayers.org
> > > > http://openlayers.org/mailman/listinfo/dev
> >
> > _______________________________________________
> > Dev mailing list
> > Dev at openlayers.org
> > http://openlayers.org/mailman/listinfo/dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OLclassDiagram.eps
Type: image/x-eps
Size: 111569 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070424/e65f4138/OLclassDiagram.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OLclassDiagram.png
Type: image/png
Size: 55855 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070424/e65f4138/OLclassDiagram.png


More information about the Dev mailing list