Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Eugenia] Including certain GMF options?
[Eugenia] Including certain GMF options? [message #12769] Tue, 17 February 2009 11:59 Go to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
I guess there is no way to include certain gmfgen options already in the
..emf file, is there?
I would find it cool, if one could set certain flags like the "Same file
for diagram and model"-option or the file extension already in the .emf
file.

Spinning this further: what would really be cool, would be a possibility
to include arbitrary .gmftool / .gmfgraph (e.g. icon file names) /
..gmfmap and - most importantly - .gmfgen flags (like the ones mentioned)
already in the .emf file and hence - by means of annotations - also in
the .ecore file.

I have no idea, whether that is possible but I think it would be a great
feature for Eugenia and EMF!

Michael
Re: [Eugenia] Including certain GMF options? [message #12808 is a reply to message #12769] Tue, 17 February 2009 12:12 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

There is no straightforward way to do this yet I'm afraid for custom
annotations. However, we are planning to provide support for
user-defined transformations that extend the functionality of the
default ones so that people can add and exploit custom annotations.

This said, there appear to be some specific options such as the ones you
mentioned that subsequent versions of Eugenia could support out-of-the-box.

Could you please write down a list of such annotations that you'd like
to see in future versions of EuGENia (annotations in the metamodel + how
they should be reflected in the generated models). If you could also
raise an enhancement request in the bugzilla, that'd be great!

Cheers,
Dimitrios

Michael Moser wrote:
> I guess there is no way to include certain gmfgen options already in the
> .emf file, is there?
> I would find it cool, if one could set certain flags like the "Same file
> for diagram and model"-option or the file extension already in the .emf
> file.
>
> Spinning this further: what would really be cool, would be a possibility
> to include arbitrary .gmftool / .gmfgraph (e.g. icon file names) /
> .gmfmap and - most importantly - .gmfgen flags (like the ones mentioned)
> already in the .emf file and hence - by means of annotations - also in
> the .ecore file.
>
> I have no idea, whether that is possible but I think it would be a great
> feature for Eugenia and EMF!
>
> Michael
>
>
Re: [Eugenia] Including certain GMF options? [message #12828 is a reply to message #12808] Tue, 17 February 2009 12:17 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
>>
> Could you please write down a list of such annotations that you'd like
> to see in future versions of EuGENia (annotations in the metamodel +
> how they should be reflected in the generated models). If you could
> also raise an enhancement request in the bugzilla, that'd be great!

Wow, sound like being invited to write down a christmas wish list!
Coming soon! :-)

Michael
Re: [Eugenia] Including certain GMF options? [message #13525 is a reply to message #12828] Fri, 20 February 2009 10:04 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Michael Moser wrote:
>>>
> Wow, sound like being invited to write down a christmas wish list!
> Coming soon! :-)
>
> Michael

OK - done!
Here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265285
and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265609

Cheers,
Michael
Re: [Eugenia] Including certain GMF options? [message #13542 is a reply to message #13525] Fri, 20 February 2009 11:14 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

Thanks. I think that diagram-related annotations should be defined in
@gmf.diagram instead of @gmf so that we leave open the possibility that
at some point in the future more than one @gmf.diagram can be defined in
the same metamodel (to support multi-view modelling languages). Does
this make sense?

So far I've implemented the following annotation details below @gmf.diagram:

onefile - Sets the sameFileForDiagramAndModel option
model.extension - Sets the extension of the domain file
diagram.extension - Sets the extension of the diagram file
units - Sets the units option

I'll implement a few more of those today and then commit to the SVN /
update the wiki so that you can start testing :)

Cheers,
Dimitris

Michael Moser wrote:
> Michael Moser wrote:
>>>>
>> Wow, sound like being invited to write down a christmas wish list!
>> Coming soon! :-)
>>
>> Michael
>
> OK - done!
> Here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265285
> and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265609
>
> Cheers,
> Michael
>
Re: [Eugenia] Including certain GMF options? [message #13564 is a reply to message #13542] Fri, 20 February 2009 12:36 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
I've now also implemented the creation tool related annotations,
committed to the SVN and updated the wiki. A binary version
(0.8.4.200902201208) should also be available in the interim update site
(http://download.eclipse.org/modeling/gmt/epsilon/interim/) shortly.

More to follow soon (hopefully)...

Cheers,
Dimitris

Dimitris Kolovos wrote:
> Hi Michael,
>
> Thanks. I think that diagram-related annotations should be defined in
> @gmf.diagram instead of @gmf so that we leave open the possibility that
> at some point in the future more than one @gmf.diagram can be defined in
> the same metamodel (to support multi-view modelling languages). Does
> this make sense?
>
> So far I've implemented the following annotation details below
> @gmf.diagram:
>
> onefile - Sets the sameFileForDiagramAndModel option
> model.extension - Sets the extension of the domain file
> diagram.extension - Sets the extension of the diagram file
> units - Sets the units option
>
> I'll implement a few more of those today and then commit to the SVN /
> update the wiki so that you can start testing :)
>
> Cheers,
> Dimitris
>
> Michael Moser wrote:
>> Michael Moser wrote:
>>>>>
>>> Wow, sound like being invited to write down a christmas wish list!
>>> Coming soon! :-)
>>>
>>> Michael
>>
>> OK - done!
>> Here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265285
>> and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265609
>>
>> Cheers,
>> Michael
>>
Re: [Eugenia] Including certain GMF options? [message #13585 is a reply to message #13542] Fri, 20 February 2009 13:54 Go to previous messageGo to next message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> ...
> Thanks. I think that diagram-related annotations should be defined in
> @gmf.diagram instead of @gmf so that we leave open the possibility
> that
> at some point in the future more than one @gmf.diagram can be defined
> in the same metamodel (to support multi-view modelling languages).
> Does
> this make sense?

Perfect sense! Hadn't thought about that...

> So far I've implemented the following annotation details below
> @gmf.diagram:
>
> onefile - Sets the sameFileForDiagramAndModel option
> model.extension - Sets the extension of the domain file
> diagram.extension - Sets the extension of the diagram file
> units - Sets the units option
>
> I'll implement a few more of those today and then commit to the SVN /
> update the wiki so that you can start testing :)
>
> Cheers,
> Dimitris

Mate - I owe you a beer (or several)!

If you ever make it into the Zurich area, let me know!

Michael
Re: [Eugenia] Including certain GMF options? [message #13606 is a reply to message #13585] Fri, 20 February 2009 13:56 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Michael Moser wrote:

> Mate - I owe you a beer (or several)!
> If you ever make it into the Zurich area, let me know!

Will most probably be there for TOOLS/ICMT end of June ;)

Cheers,
Dimitris
Re: [Eugenia] Including certain GMF options? [message #13626 is a reply to message #13606] Fri, 20 February 2009 18:02 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> Michael Moser wrote:
>
>> Mate - I owe you a beer (or several)!
>> If you ever make it into the Zurich area, let me know!
>
> Will most probably be there for TOOLS/ICMT end of June ;)

Great! I at first feared that this would collide exactly with my (rather
early) vacations this year, but I just looked it up and the conf's right
after I am back, so there is a good chance you'll get your beer!

Michael :-)
Re: [Eugenia] Including certain GMF options? [message #565510 is a reply to message #12769] Tue, 17 February 2009 12:12 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

There is no straightforward way to do this yet I'm afraid for custom
annotations. However, we are planning to provide support for
user-defined transformations that extend the functionality of the
default ones so that people can add and exploit custom annotations.

This said, there appear to be some specific options such as the ones you
mentioned that subsequent versions of Eugenia could support out-of-the-box.

Could you please write down a list of such annotations that you'd like
to see in future versions of EuGENia (annotations in the metamodel + how
they should be reflected in the generated models). If you could also
raise an enhancement request in the bugzilla, that'd be great!

Cheers,
Dimitrios

Michael Moser wrote:
> I guess there is no way to include certain gmfgen options already in the
> .emf file, is there?
> I would find it cool, if one could set certain flags like the "Same file
> for diagram and model"-option or the file extension already in the .emf
> file.
>
> Spinning this further: what would really be cool, would be a possibility
> to include arbitrary .gmftool / .gmfgraph (e.g. icon file names) /
> .gmfmap and - most importantly - .gmfgen flags (like the ones mentioned)
> already in the .emf file and hence - by means of annotations - also in
> the .ecore file.
>
> I have no idea, whether that is possible but I think it would be a great
> feature for Eugenia and EMF!
>
> Michael
>
>
Re: [Eugenia] Including certain GMF options? [message #565535 is a reply to message #12808] Tue, 17 February 2009 12:17 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
>>
> Could you please write down a list of such annotations that you'd like
> to see in future versions of EuGENia (annotations in the metamodel +
> how they should be reflected in the generated models). If you could
> also raise an enhancement request in the bugzilla, that'd be great!

Wow, sound like being invited to write down a christmas wish list!
Coming soon! :-)

Michael
Re: [Eugenia] Including certain GMF options? [message #565692 is a reply to message #12828] Fri, 20 February 2009 10:04 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Michael Moser wrote:
>>>
> Wow, sound like being invited to write down a christmas wish list!
> Coming soon! :-)
>
> Michael

OK - done!
Here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265285
and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265609

Cheers,
Michael
Re: [Eugenia] Including certain GMF options? [message #565720 is a reply to message #13525] Fri, 20 February 2009 11:14 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Michael,

Thanks. I think that diagram-related annotations should be defined in
@gmf.diagram instead of @gmf so that we leave open the possibility that
at some point in the future more than one @gmf.diagram can be defined in
the same metamodel (to support multi-view modelling languages). Does
this make sense?

So far I've implemented the following annotation details below @gmf.diagram:

onefile - Sets the sameFileForDiagramAndModel option
model.extension - Sets the extension of the domain file
diagram.extension - Sets the extension of the diagram file
units - Sets the units option

I'll implement a few more of those today and then commit to the SVN /
update the wiki so that you can start testing :)

Cheers,
Dimitris

Michael Moser wrote:
> Michael Moser wrote:
>>>>
>> Wow, sound like being invited to write down a christmas wish list!
>> Coming soon! :-)
>>
>> Michael
>
> OK - done!
> Here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265285
> and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265609
>
> Cheers,
> Michael
>
Re: [Eugenia] Including certain GMF options? [message #565737 is a reply to message #13542] Fri, 20 February 2009 12:36 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
I've now also implemented the creation tool related annotations,
committed to the SVN and updated the wiki. A binary version
(0.8.4.200902201208) should also be available in the interim update site
(http://download.eclipse.org/modeling/gmt/epsilon/interim/) shortly.

More to follow soon (hopefully)...

Cheers,
Dimitris

Dimitris Kolovos wrote:
> Hi Michael,
>
> Thanks. I think that diagram-related annotations should be defined in
> @gmf.diagram instead of @gmf so that we leave open the possibility that
> at some point in the future more than one @gmf.diagram can be defined in
> the same metamodel (to support multi-view modelling languages). Does
> this make sense?
>
> So far I've implemented the following annotation details below
> @gmf.diagram:
>
> onefile - Sets the sameFileForDiagramAndModel option
> model.extension - Sets the extension of the domain file
> diagram.extension - Sets the extension of the diagram file
> units - Sets the units option
>
> I'll implement a few more of those today and then commit to the SVN /
> update the wiki so that you can start testing :)
>
> Cheers,
> Dimitris
>
> Michael Moser wrote:
>> Michael Moser wrote:
>>>>>
>>> Wow, sound like being invited to write down a christmas wish list!
>>> Coming soon! :-)
>>>
>>> Michael
>>
>> OK - done!
>> Here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265285
>> and here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=265609
>>
>> Cheers,
>> Michael
>>
Re: [Eugenia] Including certain GMF options? [message #565750 is a reply to message #13542] Fri, 20 February 2009 13:54 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> ...
> Thanks. I think that diagram-related annotations should be defined in
> @gmf.diagram instead of @gmf so that we leave open the possibility
> that
> at some point in the future more than one @gmf.diagram can be defined
> in the same metamodel (to support multi-view modelling languages).
> Does
> this make sense?

Perfect sense! Hadn't thought about that...

> So far I've implemented the following annotation details below
> @gmf.diagram:
>
> onefile - Sets the sameFileForDiagramAndModel option
> model.extension - Sets the extension of the domain file
> diagram.extension - Sets the extension of the diagram file
> units - Sets the units option
>
> I'll implement a few more of those today and then commit to the SVN /
> update the wiki so that you can start testing :)
>
> Cheers,
> Dimitris

Mate - I owe you a beer (or several)!

If you ever make it into the Zurich area, let me know!

Michael
Re: [Eugenia] Including certain GMF options? [message #565764 is a reply to message #13585] Fri, 20 February 2009 13:56 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Michael Moser wrote:

> Mate - I owe you a beer (or several)!
> If you ever make it into the Zurich area, let me know!

Will most probably be there for TOOLS/ICMT end of June ;)

Cheers,
Dimitris
Re: [Eugenia] Including certain GMF options? [message #565783 is a reply to message #13606] Fri, 20 February 2009 18:02 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
Dimitris Kolovos wrote:
> Michael Moser wrote:
>
>> Mate - I owe you a beer (or several)!
>> If you ever make it into the Zurich area, let me know!
>
> Will most probably be there for TOOLS/ICMT end of June ;)

Great! I at first feared that this would collide exactly with my (rather
early) vacations this year, but I just looked it up and the conf's right
after I am back, so there is a good chance you'll get your beer!

Michael :-)
Previous Topic:// Comments cause remainder of EGL document to be ignored
Next Topic:Clarification needed re. icon paths
Goto Forum:
  


Current Time: Sat Oct 25 12:45:54 GMT 2014

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

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