Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Editor for profiled UML
Editor for profiled UML [message #475857] Thu, 13 September 2007 09:25 Go to next message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi all,

Story:
I'm writing my thesis and got somehow stuck with this problem. I need to
create a graphical editor which operates on profiled UML. I read the
articles on the UML2 page about extension mechanisms of UML2 and figured
out that lightweight extension is the proper way to ensure interoperability.

Problem:
My problem now is I don't know how to create a MetaModel which is based
on UML, but also includes my profile elements and are serialized
conforming the eclipse-uml2 standard. (Afaik profiles are supported by
UML2 via dynamic EMF with which I think it's not possible of building a
GMF editor with)

I've converted my profile to EMF, but the extensions of metaclasses by
sterotypes are substitued by references (in case I refer both eCore and
UML genmodels in mine). This is correct but leads to the problem that I
would have to combine both metamodels (where I think GMF is not really
made for/capable of - besides the fact I don't know how oc) and still
don't know if the serialization would be correct and if my editor would
be inter operable with other tools.

Any help or ideas are welcome =)

stefan



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6QH+IYVWjMSpDwwRAqp8AKCEcdR1zkSxW+2xGDW/F77LyQfRLQCe PGGR
/IQnwaLaTxxHb70InSxkbz8=
=Jy2v
-----END PGP SIGNATURE-----
Re: Editor for profiled UML [message #475858 is a reply to message #475857] Thu, 13 September 2007 10:34 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Stefan,

Comments below.

SKuhn wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi all,
>
> Story:
> I'm writing my thesis and got somehow stuck with this problem. I need to
> create a graphical editor which operates on profiled UML.
The UML Tools project has a graphical editor for UML. Does that do the
trick or is that off by one meta level?
> I read the
> articles on the UML2 page about extension mechanisms of UML2 and figured
> out that lightweight extension is the proper way to ensure interoperability.
>
Yes, I tend to think that heavy weight extensions of either UML or Ecore
are typically a bad idea. It's better to decorate/augment/profile the
unchanged base model.
> Problem:
> My problem now is I don't know how to create a MetaModel which is based
> on UML, but also includes my profile elements and are serialized
> conforming the eclipse-uml2 standard.
I thought both the basic editor provided directly by the UML project and
the graphical editor from the UML tools project would let you create
profiled instances of UML, doesn't it?
> (Afaik profiles are supported by
> UML2 via dynamic EMF with which I think it's not possible of building a
> GMF editor with)
>
I'm not sure, but I was under the impression that UML also supports a
profile for which there is an actual generated model.
> I've converted my profile to EMF, but the extensions of metaclasses by
> sterotypes are substitued by references (in case I refer both eCore and
> UML genmodels in mine). This is correct but leads to the problem that I
> would have to combine both metamodels (where I think GMF is not really
> made for/capable of - besides the fact I don't know how oc)
I'm not familiar enough with GMF to know specifically what problem this
causes, but I would have imagined it wouldn't cause any major ones...
> and still
> don't know if the serialization would be correct and if my editor would
> be inter operable with other tools.
>
So it sounds like you are seeking to specialize the UML Tools
component's graphical editor to represent your additional profiled
information in a more graphical way. Is that right?
> Any help or ideas are welcome =)
>
> stefan
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG6QH+IYVWjMSpDwwRAqp8AKCEcdR1zkSxW+2xGDW/F77LyQfRLQCe PGGR
> /IQnwaLaTxxHb70InSxkbz8=
> =Jy2v
> -----END PGP SIGNATURE-----
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Editor for profiled UML [message #475859 is a reply to message #475858] Thu, 13 September 2007 11:09 Go to previous message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi Ed,

>>>
The UML Tools project has a graphical editor for UML. Does that do the
trick or is that off by one meta level?
<<<
The UML2Tools Editor should operate on standard UML2. Therefore it
doesn't need any tricks bc he operates on the UML2 MetaModel.

>>>
I thought both the basic editor provided directly by the UML project and
the graphical editor from the UML tools project would let you create
profiled instances of UML, doesn't it?
<<<
right, they do. This is not what I want.

>>>
I'm not sure, but I was under the impression that UML also supports a
profile for which there is an actual generated model.
<<<
Didn't get this one completely. Which model do you mean?

>>>
So it sounds like you are seeking to specialize the UML Tools
component's graphical editor to represent your additional profiled
information in a more graphical way. Is that right?
<<<
More or less. I don't want to specialize UML2Tools. I should be possible
to express my DSL via UML+profiles. Therefore I want my Editor to just
create his profiles classifiers and just read out of an input UML model
elements which are stereotyped by my 'DSL'. It shouldn't be obvious for
the user that he's actually modelling UML :).

- - - - -

I looked at the UMLTool some months ago and thought it doesn't support
profiles/stereotypes. Now I realized that they do -what gives me hope.
I'm going to investigate this further, but if you have further ideas,
let me know :)

- -stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6RpmIYVWjMSpDwwRAuuPAJ42LzAH4fdF4YGo6xKPuFDghAx5qQCg njxH
nJhsdwea0AtRf7+6AgR2z84=
=R3CW
-----END PGP SIGNATURE-----
Re: Editor for profiled UML [message #624749 is a reply to message #475857] Thu, 13 September 2007 10:34 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Stefan,

Comments below.

SKuhn wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi all,
>
> Story:
> I'm writing my thesis and got somehow stuck with this problem. I need to
> create a graphical editor which operates on profiled UML.
The UML Tools project has a graphical editor for UML. Does that do the
trick or is that off by one meta level?
> I read the
> articles on the UML2 page about extension mechanisms of UML2 and figured
> out that lightweight extension is the proper way to ensure interoperability.
>
Yes, I tend to think that heavy weight extensions of either UML or Ecore
are typically a bad idea. It's better to decorate/augment/profile the
unchanged base model.
> Problem:
> My problem now is I don't know how to create a MetaModel which is based
> on UML, but also includes my profile elements and are serialized
> conforming the eclipse-uml2 standard.
I thought both the basic editor provided directly by the UML project and
the graphical editor from the UML tools project would let you create
profiled instances of UML, doesn't it?
> (Afaik profiles are supported by
> UML2 via dynamic EMF with which I think it's not possible of building a
> GMF editor with)
>
I'm not sure, but I was under the impression that UML also supports a
profile for which there is an actual generated model.
> I've converted my profile to EMF, but the extensions of metaclasses by
> sterotypes are substitued by references (in case I refer both eCore and
> UML genmodels in mine). This is correct but leads to the problem that I
> would have to combine both metamodels (where I think GMF is not really
> made for/capable of - besides the fact I don't know how oc)
I'm not familiar enough with GMF to know specifically what problem this
causes, but I would have imagined it wouldn't cause any major ones...
> and still
> don't know if the serialization would be correct and if my editor would
> be inter operable with other tools.
>
So it sounds like you are seeking to specialize the UML Tools
component's graphical editor to represent your additional profiled
information in a more graphical way. Is that right?
> Any help or ideas are welcome =)
>
> stefan
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG6QH+IYVWjMSpDwwRAqp8AKCEcdR1zkSxW+2xGDW/F77LyQfRLQCe PGGR
> /IQnwaLaTxxHb70InSxkbz8=
> =Jy2v
> -----END PGP SIGNATURE-----
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Editor for profiled UML [message #624750 is a reply to message #475858] Thu, 13 September 2007 11:09 Go to previous message
Stefan Kuhn is currently offline Stefan KuhnFriend
Messages: 355
Registered: July 2009
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi Ed,

>>>
The UML Tools project has a graphical editor for UML. Does that do the
trick or is that off by one meta level?
<<<
The UML2Tools Editor should operate on standard UML2. Therefore it
doesn't need any tricks bc he operates on the UML2 MetaModel.

>>>
I thought both the basic editor provided directly by the UML project and
the graphical editor from the UML tools project would let you create
profiled instances of UML, doesn't it?
<<<
right, they do. This is not what I want.

>>>
I'm not sure, but I was under the impression that UML also supports a
profile for which there is an actual generated model.
<<<
Didn't get this one completely. Which model do you mean?

>>>
So it sounds like you are seeking to specialize the UML Tools
component's graphical editor to represent your additional profiled
information in a more graphical way. Is that right?
<<<
More or less. I don't want to specialize UML2Tools. I should be possible
to express my DSL via UML+profiles. Therefore I want my Editor to just
create his profiles classifiers and just read out of an input UML model
elements which are stereotyped by my 'DSL'. It shouldn't be obvious for
the user that he's actually modelling UML :).

- - - - -

I looked at the UMLTool some months ago and thought it doesn't support
profiles/stereotypes. Now I realized that they do -what gives me hope.
I'm going to investigate this further, but if you have further ideas,
let me know :)

- -stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6RpmIYVWjMSpDwwRAuuPAJ42LzAH4fdF4YGo6xKPuFDghAx5qQCg njxH
nJhsdwea0AtRf7+6AgR2z84=
=R3CW
-----END PGP SIGNATURE-----
Previous Topic:Editor for profiled UML
Next Topic:problem with the persistence of the applied stereo type.
Goto Forum:
  


Current Time: Thu Apr 25 18:56:03 GMT 2024

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

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

Back to the top