Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » UML2 domain file
UML2 domain file [message #522819] Wed, 24 March 2010 01:25 Go to next message
Eban Escott is currently offline Eban EscottFriend
Messages: 61
Registered: July 2009
Member
Hi,

I have completed the GMF mindmap tutorials and ready to start creating my own diagrams. In the mindmap tutorial the diagram file has the extension '.mindmap_diagram' and the domain file has '.mindmap'. How do you make the domain file a '.uml2' file? I know you can change the file extension in gmfgen but this does not make it uml2.

I want to create UML2 files from a GMF diagram. I am aware of the UML2Tools project but I want to create a DSL using GMF but conforms to UML2.

Hope my lingo is correct Smile

Thanks
Eban
Re: UML2 domain file [message #525283 is a reply to message #522819] Tue, 06 April 2010 00:38 Go to previous messageGo to next message
Eban Escott is currently offline Eban EscottFriend
Messages: 61
Registered: July 2009
Member
Hi again, I still have not worked this one out . Has anyone got any clues please? Thanks, Eban
Re: UML2 domain file [message #530002 is a reply to message #525283] Wed, 28 April 2010 03:36 Go to previous messageGo to next message
Eban Escott is currently offline Eban EscottFriend
Messages: 61
Registered: July 2009
Member
Um, I know everyone is busy but could someone please have a go at pointing me in the right direction. Thanks in advance, Eban
Re: UML2 domain file [message #634262 is a reply to message #522819] Thu, 21 October 2010 02:18 Go to previous messageGo to next message
Eban Escott is currently offline Eban EscottFriend
Messages: 61
Registered: July 2009
Member
Bump again, please help!
Re: UML2 domain file [message #634369 is a reply to message #634262] Thu, 21 October 2010 12:46 Go to previous messageGo to next message
Mariot Chauvin is currently offline Mariot ChauvinFriend
Messages: 174
Registered: July 2009
Senior Member
Hi Eban,

Comments below.

Eban Escott a écrit :
> I have completed the GMF mindmap tutorials and ready to start creating
my own diagrams. In the mindmap tutorial the diagram
> file has the extension '.mindmap_diagram' and the domain file has
'.mindmap'. How do you make the domain file a '.uml2' file?
> I know
> you can change the file extension in gmfgen but this does not make it
uml2.
>
>I want to create UML2 files from a GMF diagram. I am aware of the
UML2Tools project but I want to create a DSL using GMF but >conforms to
UML2.

I am not sure I understand what you try to achieve with GMF. If you want
to create a DSL conforms to UML2 you need first to create an UML2
profile. Then you will use UML2 with your profile as domain model in GMF.

Otherwise if you just want to convert a domain model file to an uml
model (profiled or not) file you may use a model transformation.

Regards,

Mariot

--
Mariot Chauvin @ Obeo

http://www.obeo.fr
http://mariot-thoughts.blogspot.com
http://fr.linkedin.com/in/mariotchauvin
Re: UML2 domain file [message #638097 is a reply to message #634369] Tue, 09 November 2010 22:03 Go to previous messageGo to next message
Eban Escott is currently offline Eban EscottFriend
Messages: 61
Registered: July 2009
Member
Hi Mariot,

Thanks for the response, I guess my lack of understanding is impeding my question. I will try to do better.

I want to use GMF and end up with a UML2 model (http://www.eclipse.org/modeling/mdt/?project=uml2). Then once I have a UML2 model use M2T such as JET. I have been having some success with JET.

My goal is to use GMF to display class and state machine diagrams. Once the user has created these, they hit a button and out pops the code. I also eventually, want to do some M2M transformations, e.g. if the user changes some specific part of the class diagram this may require some changes in another part of the model.

I hope this makes it clearer and I appreciate this is very high level. I guess I am just looking for a nudge in the right direction Smile Any recommendations would be much appreciated.

Cheers
Eban
Re: UML2 domain file [message #638177 is a reply to message #638097] Wed, 10 November 2010 10:42 Go to previous message
Mariot Chauvin is currently offline Mariot ChauvinFriend
Messages: 174
Registered: July 2009
Senior Member
Hi Eban,

You want to create a graphical modeler on top of an UML model. Of course
you can use GMF tooling and runtime to create your own UML modeler, but
it could be quite time comsuming depending on the result quality you
want to achieve. In this case have a look to the examples provided after
installing the SDK and the documentation on the eclipse wiki. On the
other side you may use an existing UML modeler based on GMF Runtime (or
not if you don't need it) and adapt it to your needs. There is several
commercial solutions (you may find them easily) and at least an eclipse
open source one, the Papyrus project.

Best regards,

Mariot
--
Mariot Chauvin @ Obeo

http://www.obeo.fr
http://mariot-thoughts.blogspot.com
http://fr.linkedin.com/in/mariotchauvin


Le 09/11/2010 23:03, Eban Escott a écrit :
> Hi Mariot,
> Thanks for the response, I guess my lack of understanding is impeding my
> question. I will try to do better.
>
> I want to use GMF and end up with a UML2 model
> (http://www.eclipse.org/modeling/mdt/?project=uml2). Then once I have a
> UML2 model use M2T such as JET. I have been having some success with JET.
>
> My goal is to use GMF to display class and state machine diagrams. Once
> the user has created these, they hit a button and out pops the code. I
> also eventually, want to do some M2M transformations, e.g. if the user
> changes some specific part of the class diagram this may require some
> changes in another part of the model.
>
> I hope this makes it clearer and I appreciate this is very high level. I
> guess I am just looking for a nudge in the right direction :) Any
> recommendations would be much appreciated.
>
> Cheers
> Eban
Previous Topic:Observe .ecore changes made via ecorediag (ecoretools editor)
Next Topic:OCL Constraint: No two diagram elements have the same name.
Goto Forum:
  


Current Time: Thu Sep 26 13:43:39 GMT 2024

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

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

Back to the top