Skip to main content



      Home
Home » Modeling » UML2 » Searching UML2 Plug-In to extend
Searching UML2 Plug-In to extend [message #628032] Sat, 07 November 2009 13:40 Go to next message
Eclipse UserFriend
Hello,

I am searching for a possiblity to enhance an UML-Modeler to create classes/interfaces/.. for a new language.

Because I am new and have no clue which UML-Modeler are available as open source it would be really good if someone could me support with the name of an/some UML-Modeler that give me the possibilty to enhance in a way that I am able to generate classes/interfaces for a new language and that I am able to change in the way I want to.

Sorry for the confusing description. Somehow I am just in the starting process and I am searching for ideas how to get started with this.

Have a nice day,
Vanessa
Re: Searching UML2 Plug-In to extend [message #628033 is a reply to message #628032] Sun, 08 November 2009 06:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi Vanessa,

what do you mean by "... for a new language". UML is a general purpose
language, which is not restricted to any particular language; rather, it
bundles OO-concepts to reuse them for any kind of language (either
oo-related or not). So, if your "new language" supports concepts like
classes and instances, you can use UML for both the modeling of a system
and for code generation (of any programming language).

Timothy

VanessaMartinez schrieb:
> Hello,
>
> I am searching for a possiblity to enhance an UML-Modeler to create
> classes/interfaces/.. for a new language.
> Because I am new and have no clue which UML-Modeler are available as
> open source it would be really good if someone could me support with the
> name of an/some UML-Modeler that give me the possibilty to enhance in a
> way that I am able to generate classes/interfaces for a new language and
> that I am able to change in the way I want to.
>
> Sorry for the confusing description. Somehow I am just in the starting
> process and I am searching for ideas how to get started with this.
> Have a nice day, Vanessa
Re: Searching UML2 Plug-In to extend [message #628042 is a reply to message #628032] Wed, 11 November 2009 03:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Vanessa,

for your extension, I suggest that you first decide how deep/shallow it should be: is it enough to use custom stereotypes (they can have arbitrary many properties for aditional parameters) for your model elements, or do you need an extended notation based on the UML metamodel, or do you really need to change the UML metamodel?

Life is easy if you can live with the stereotype approach. Then, you create a profile, apply it to your model, apply stereotypes to model elements, add properties ("tagged values") to the stereotyped model elements if needed, and implement your code generator to consider the stereotypes during code generation.

Changing the notation (creating a custom diagram type) would be possible too. I just can tell how this is done in ArgoUML, because I'm a user/developer in this open source UML editor. I can't help you with other graphical UML editors like UML2Tools or Papyrus. Also I have no clue what to do when you think you need to change the metamodel.

Regards,
Thomas
Re: Searching UML2 Plug-In to extend [message #628045 is a reply to message #628032] Thu, 12 November 2009 05:04 Go to previous message
Eclipse UserFriend
+1 for Thomas post because the use stereotypes without creating a new metamodel is the best approach.


Vlad,
Previous Topic:Searching UML2 Plug-In to extend
Next Topic:Applying stereotype to a model which is not contained in a resource yet?
Goto Forum:
  


Current Time: Wed Jul 23 00:03:17 EDT 2025

Powered by FUDForum. Page generated in 0.05093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top