Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Searching UML2 Plug-In to extend
Searching UML2 Plug-In to extend [message #628032] Sat, 07 November 2009 18:40 Go to next message
VanessaMartinez  is currently offline VanessaMartinez Friend
Messages: 4
Registered: November 2009
Junior Member
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 11:52 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
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 08:20 Go to previous messageGo to next message
Thomas Neustupny is currently offline Thomas NeustupnyFriend
Messages: 75
Registered: October 2009
Member
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 10:04 Go to previous message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
+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: Fri Nov 28 16:13:17 GMT 2014

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

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