Login | Register
My pages Projects Community openCollabNet

Discussions > modules-dev > RE: [argouml-modules-dev] Code generation

argouml
Discussion topic

Back to topic list

RE: [argouml-modules-dev] Code generation

Author linus
Full name Linus Tolke
Date 2005-07-26 21:46:48 PDT
Message Hello Frank!

The advice depends on your patience and your willingness to involve yourself
in the project.

If you are impatient you should use the existing interfaces, using the old
module loader, and register yourself in the same way as the PHP, C++,
Csharp, IDL modules have registered themselves. Look at how those modules do
it.

Otherwize you should wait for the new solution as described in the Cookbook,
or better yet implement and contribute to the project.

Good luck!

    /Linus

> -----Original Message-----
> From: Frank Raiser [mailto:frank.raiser​@uni-ulm.de]
> Sent: den 26 juli 2005 01:07
> To: modules-dev at argouml dot tigris dot org
> Subject: [argouml-modules-dev] Code generation
>
>
> Hello,
>
> I'm trying to implement an ArgoUML module for code generation and I got
> as far as getting my module to load properly and add a JMenu to
> the menubar.
>
> However I'm having big troubles finding the entry point for where to tell
> ArgoUML that my module can do code generation. I've seen the FileGenerator
> interface and the Generator2 class which I assume my module has
> to work with.
>
> But I could not find any place where I can add my class so that
> it is shown
> in the corresponding generator dialogs next to the java and
> csharp entries.
> I read in the cookbook that the generator handling is about to be
> changed and
> that modules should register in org.argouml.language.Language,
> but from what I
> can see this doesn't yet seem to be implemented.
>
> So here's a list of my current questions:
>
> - how do you register a code generator class?
> - is it adviceable to register it 'the old way' or is the abovementioned
> implementation coming anytime soon?
> - what amount of effort is needed to change the code from the
> old to the new
> way of registering the class?
>
> - where can I find documentation on the Action* classes and how
> to use them?
> (f.ex. to trigger XMI exporting with ActionExportXMI)
>
> - is there a way to to modify the .uml file for a diagram (with
> support from the
> ArgoUML API even?) and have the changes or the complete file
> displayed again?
> Or what is the preferred way to tackle round-trip engineering
> in ArgoUML?
>
> I'm currently trying to investigate generating and reverse
> engineering Java 1.5
> source code for ArgoUML and whether it might work out as a
> diploma thesis, so any
> help and warnings on the matter are appreciated.
>
> --
> Raiser, Frank
> Student @ University of Ulm (www.uni-ulm.de)
>
> Present to inform, not to impress; if you inform, you will impress.
> (Frederick P Brooks)
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
> For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org
>

« Previous message in topic | 8 of 9 | Next message in topic »

Messages

Show all messages in topic

Code generation Frank Raiser <frank dot raiser at uni-ulm dot de> Frank Raiser <frank dot raiser at uni-ulm dot de> 2005-07-25 16:06:38 PDT
     Re: [argouml-modules-dev] Code generation Luis Sergio Oliveira <euluis at zmail dot pt> Luis Sergio Oliveira <euluis at zmail dot pt> 2005-07-26 15:34:17 PDT
         Re: [argouml-modules-dev] Code generation Frank Raiser <frank dot raiser at uni-ulm dot de> Frank Raiser <frank dot raiser at uni-ulm dot de> 2005-07-27 02:30:47 PDT
             RE: [argouml-modules-dev] Code generation linus Linus Tolke 2005-07-27 13:38:10 PDT
                 Re: [argouml-modules-dev] Code generation Frank Raiser <frank dot raiser at uni-ulm dot de> Frank Raiser <frank dot raiser at uni-ulm dot de> 2005-07-30 05:02:38 PDT
             Re: [argouml-modules-dev] Code generation Luis Sergio Oliveira <euluis at zmail dot pt> Luis Sergio Oliveira <euluis at zmail dot pt> 2005-07-27 15:42:21 PDT
                 Re: [argouml-modules-dev] Code generation Frank Raiser <frank dot raiser at uni-ulm dot de> Frank Raiser <frank dot raiser at uni-ulm dot de> 2005-07-30 05:27:37 PDT
     RE: [argouml-modules-dev] Code generation linus Linus Tolke 2005-07-26 21:46:48 PDT
         Re: [argouml-modules-dev] Code generation Frank Raiser <frank dot raiser at uni-ulm dot de> Frank Raiser <frank dot raiser at uni-ulm dot de> 2005-07-27 01:55:10 PDT
Messages per page: