Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EUGENIA] Different types of diagrams like UML2 Tools
[EUGENIA] Different types of diagrams like UML2 Tools [message #505873] Tue, 05 January 2010 12:21 Go to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi all,

i've just started working with EUGENIA (today) and before digging deeper
into that stuff, i wanted to ask, whether it is possible to create
specific diagrams of existing model elements.

My model root contains several trees. I now want to realize two
different diagrams: 1. a diagram that contains and relates the trees,
and 2. a diagram for each tree to define the tree itself.

I think each new diagram has to be generated in a seperate GMF Project,
each with the diagram-specific annotation in the domain model. This
would mean to copy the domain model into each diagram project. Is this
correct?!

Thanks a lot. EUGENIA looks very promising to me, in contrast to
developing everything from scratch manually with GMF

Timothy
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #505874 is a reply to message #505873] Tue, 05 January 2010 12:30 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

Multiple diagrams are not supported natively. I must admit I haven't
tried the workaround you're suggesting (copying the domain model into
each diagram project) but I think it should work. In any case could you
please file an enhancement request in the bugzilla so that we can keep
track of this?

Cheers,
Dimitris

Timothy Marc wrote:
> Hi all,
>
> i've just started working with EUGENIA (today) and before digging deeper
> into that stuff, i wanted to ask, whether it is possible to create
> specific diagrams of existing model elements.
>
> My model root contains several trees. I now want to realize two
> different diagrams: 1. a diagram that contains and relates the trees,
> and 2. a diagram for each tree to define the tree itself.
>
> I think each new diagram has to be generated in a seperate GMF Project,
> each with the diagram-specific annotation in the domain model. This
> would mean to copy the domain model into each diagram project. Is this
> correct?!
>
> Thanks a lot. EUGENIA looks very promising to me, in contrast to
> developing everything from scratch manually with GMF
>
> Timothy


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #506105 is a reply to message #505874] Wed, 06 January 2010 07:54 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Dimitris,

thank for the quick response. I will investigate this a bit later. By
the way, is it somehow possible to let an initialize or use an editor
with an already existing model file? Currently, everytime i open a new
editor, he asks for a new model file to create.

Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> Multiple diagrams are not supported natively. I must admit I haven't
> tried the workaround you're suggesting (copying the domain model into
> each diagram project) but I think it should work. In any case could you
> please file an enhancement request in the bugzilla so that we can keep
> track of this?
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've just started working with EUGENIA (today) and before digging deeper
>> into that stuff, i wanted to ask, whether it is possible to create
>> specific diagrams of existing model elements.
>>
>> My model root contains several trees. I now want to realize two
>> different diagrams: 1. a diagram that contains and relates the trees,
>> and 2. a diagram for each tree to define the tree itself.
>>
>> I think each new diagram has to be generated in a seperate GMF Project,
>> each with the diagram-specific annotation in the domain model. This
>> would mean to copy the domain model into each diagram project. Is this
>> correct?!
>>
>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>> developing everything from scratch manually with GMF
>>
>> Timothy
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #506172 is a reply to message #506105] Wed, 06 January 2010 12:44 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

You can right-click on the model file and click "Initialize xxx diagram
file".

Cheers,
Dimitris

Timothy Marc wrote:
> Dimitris,
>
> thank for the quick response. I will investigate this a bit later. By
> the way, is it somehow possible to let an initialize or use an editor
> with an already existing model file? Currently, everytime i open a new
> editor, he asks for a new model file to create.
>
> Timothy
>
> Dimitris Kolovos schrieb:
>> Hi Timothy,
>>
>> Multiple diagrams are not supported natively. I must admit I haven't
>> tried the workaround you're suggesting (copying the domain model into
>> each diagram project) but I think it should work. In any case could you
>> please file an enhancement request in the bugzilla so that we can keep
>> track of this?
>>
>> Cheers,
>> Dimitris
>>
>> Timothy Marc wrote:
>>> Hi all,
>>>
>>> i've just started working with EUGENIA (today) and before digging deeper
>>> into that stuff, i wanted to ask, whether it is possible to create
>>> specific diagrams of existing model elements.
>>>
>>> My model root contains several trees. I now want to realize two
>>> different diagrams: 1. a diagram that contains and relates the trees,
>>> and 2. a diagram for each tree to define the tree itself.
>>>
>>> I think each new diagram has to be generated in a seperate GMF Project,
>>> each with the diagram-specific annotation in the domain model. This
>>> would mean to copy the domain model into each diagram project. Is this
>>> correct?!
>>>
>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>> developing everything from scratch manually with GMF
>>>
>>> Timothy
>>
>>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #510850 is a reply to message #506172] Thu, 28 January 2010 19:58 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi Dimitris,

okay, that works fine. Thanks for that hint, BUT: Is it possible to
modify the built-in "new diagram" wizard to contribute the new created
model elements into an already existing model file?! Currently, it is
only possible to create new files by using the "new diagram" wizard.

Thanks in advance
Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> You can right-click on the model file and click "Initialize xxx diagram
> file".
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Dimitris,
>>
>> thank for the quick response. I will investigate this a bit later. By
>> the way, is it somehow possible to let an initialize or use an editor
>> with an already existing model file? Currently, everytime i open a new
>> editor, he asks for a new model file to create.
>>
>> Timothy
>>
>> Dimitris Kolovos schrieb:
>>> Hi Timothy,
>>>
>>> Multiple diagrams are not supported natively. I must admit I haven't
>>> tried the workaround you're suggesting (copying the domain model into
>>> each diagram project) but I think it should work. In any case could you
>>> please file an enhancement request in the bugzilla so that we can keep
>>> track of this?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Timothy Marc wrote:
>>>> Hi all,
>>>>
>>>> i've just started working with EUGENIA (today) and before digging deeper
>>>> into that stuff, i wanted to ask, whether it is possible to create
>>>> specific diagrams of existing model elements.
>>>>
>>>> My model root contains several trees. I now want to realize two
>>>> different diagrams: 1. a diagram that contains and relates the trees,
>>>> and 2. a diagram for each tree to define the tree itself.
>>>>
>>>> I think each new diagram has to be generated in a seperate GMF Project,
>>>> each with the diagram-specific annotation in the domain model. This
>>>> would mean to copy the domain model into each diagram project. Is this
>>>> correct?!
>>>>
>>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>>> developing everything from scratch manually with GMF
>>>>
>>>> Timothy
>>>
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #510852 is a reply to message #510850] Thu, 28 January 2010 20:01 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

The "new diagram" wizard is a feature of GMF (not Eugenia). I'm sure you
can achieve this somehow but I must admit I don't have any experience
with this. I'd suggest asking about this in the GMF newsgroup.

Cheers,
Dimitris

Timothy Marc wrote:
> Hi Dimitris,
>
> okay, that works fine. Thanks for that hint, BUT: Is it possible to
> modify the built-in "new diagram" wizard to contribute the new created
> model elements into an already existing model file?! Currently, it is
> only possible to create new files by using the "new diagram" wizard.
>
> Thanks in advance
> Timothy
>
> Dimitris Kolovos schrieb:
>> Hi Timothy,
>>
>> You can right-click on the model file and click "Initialize xxx diagram
>> file".
>>
>> Cheers,
>> Dimitris
>>
>> Timothy Marc wrote:
>>> Dimitris,
>>>
>>> thank for the quick response. I will investigate this a bit later. By
>>> the way, is it somehow possible to let an initialize or use an editor
>>> with an already existing model file? Currently, everytime i open a new
>>> editor, he asks for a new model file to create.
>>>
>>> Timothy
>>>
>>> Dimitris Kolovos schrieb:
>>>> Hi Timothy,
>>>>
>>>> Multiple diagrams are not supported natively. I must admit I haven't
>>>> tried the workaround you're suggesting (copying the domain model into
>>>> each diagram project) but I think it should work. In any case could you
>>>> please file an enhancement request in the bugzilla so that we can keep
>>>> track of this?
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Timothy Marc wrote:
>>>>> Hi all,
>>>>>
>>>>> i've just started working with EUGENIA (today) and before digging
>>>>> deeper
>>>>> into that stuff, i wanted to ask, whether it is possible to create
>>>>> specific diagrams of existing model elements.
>>>>>
>>>>> My model root contains several trees. I now want to realize two
>>>>> different diagrams: 1. a diagram that contains and relates the trees,
>>>>> and 2. a diagram for each tree to define the tree itself.
>>>>>
>>>>> I think each new diagram has to be generated in a seperate GMF
>>>>> Project,
>>>>> each with the diagram-specific annotation in the domain model. This
>>>>> would mean to copy the domain model into each diagram project. Is this
>>>>> correct?!
>>>>>
>>>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>>>> developing everything from scratch manually with GMF
>>>>>
>>>>> Timothy
>>>>
>>
>>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #512859 is a reply to message #505874] Mon, 08 February 2010 08:34 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi Dimitris,

i tried to implement different diagram types for one model by
diversifying the *.ecore and *.genmodel for each new diagram. That works
very well, except the cumbersome process flow if something has changed
in the model. However, the workflow as it is enables me to create
different views (like in UML) as well as open a different editor by
double-clicking a particular node in the diagram.

So far
Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> Multiple diagrams are not supported natively. I must admit I haven't
> tried the workaround you're suggesting (copying the domain model into
> each diagram project) but I think it should work. In any case could you
> please file an enhancement request in the bugzilla so that we can keep
> track of this?
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've just started working with EUGENIA (today) and before digging deeper
>> into that stuff, i wanted to ask, whether it is possible to create
>> specific diagrams of existing model elements.
>>
>> My model root contains several trees. I now want to realize two
>> different diagrams: 1. a diagram that contains and relates the trees,
>> and 2. a diagram for each tree to define the tree itself.
>>
>> I think each new diagram has to be generated in a seperate GMF Project,
>> each with the diagram-specific annotation in the domain model. This
>> would mean to copy the domain model into each diagram project. Is this
>> correct?!
>>
>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>> developing everything from scratch manually with GMF
>>
>> Timothy
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #512887 is a reply to message #512859] Mon, 08 February 2010 04:50 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

Great news. Thanks for sharing! Would it by any chance be possible to
contribute a minimal example illustrating this so that we can put it the
examples section of the site?

Cheers,
Dimitris

Timothy Marc wrote:
> Hi Dimitris,
>
> i tried to implement different diagram types for one model by
> diversifying the *.ecore and *.genmodel for each new diagram. That works
> very well, except the cumbersome process flow if something has changed
> in the model. However, the workflow as it is enables me to create
> different views (like in UML) as well as open a different editor by
> double-clicking a particular node in the diagram.
>
> So far
> Timothy
>
> Dimitris Kolovos schrieb:
>> Hi Timothy,
>>
>> Multiple diagrams are not supported natively. I must admit I haven't
>> tried the workaround you're suggesting (copying the domain model into
>> each diagram project) but I think it should work. In any case could you
>> please file an enhancement request in the bugzilla so that we can keep
>> track of this?
>>
>> Cheers,
>> Dimitris
>>
>> Timothy Marc wrote:
>>> Hi all,
>>>
>>> i've just started working with EUGENIA (today) and before digging deeper
>>> into that stuff, i wanted to ask, whether it is possible to create
>>> specific diagrams of existing model elements.
>>>
>>> My model root contains several trees. I now want to realize two
>>> different diagrams: 1. a diagram that contains and relates the trees,
>>> and 2. a diagram for each tree to define the tree itself.
>>>
>>> I think each new diagram has to be generated in a seperate GMF Project,
>>> each with the diagram-specific annotation in the domain model. This
>>> would mean to copy the domain model into each diagram project. Is this
>>> correct?!
>>>
>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>> developing everything from scratch manually with GMF
>>>
>>> Timothy
>>
>>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #512901 is a reply to message #512887] Mon, 08 February 2010 10:24 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi Dimitris,

yes, i can do so, but i won't do this until mid of march (due to some
project deadlines).

So far (until my next questions :-) )
Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> Great news. Thanks for sharing! Would it by any chance be possible to
> contribute a minimal example illustrating this so that we can put it the
> examples section of the site?
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Hi Dimitris,
>>
>> i tried to implement different diagram types for one model by
>> diversifying the *.ecore and *.genmodel for each new diagram. That works
>> very well, except the cumbersome process flow if something has changed
>> in the model. However, the workflow as it is enables me to create
>> different views (like in UML) as well as open a different editor by
>> double-clicking a particular node in the diagram.
>>
>> So far
>> Timothy
>>
>> Dimitris Kolovos schrieb:
>>> Hi Timothy,
>>>
>>> Multiple diagrams are not supported natively. I must admit I haven't
>>> tried the workaround you're suggesting (copying the domain model into
>>> each diagram project) but I think it should work. In any case could you
>>> please file an enhancement request in the bugzilla so that we can keep
>>> track of this?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Timothy Marc wrote:
>>>> Hi all,
>>>>
>>>> i've just started working with EUGENIA (today) and before digging deeper
>>>> into that stuff, i wanted to ask, whether it is possible to create
>>>> specific diagrams of existing model elements.
>>>>
>>>> My model root contains several trees. I now want to realize two
>>>> different diagrams: 1. a diagram that contains and relates the trees,
>>>> and 2. a diagram for each tree to define the tree itself.
>>>>
>>>> I think each new diagram has to be generated in a seperate GMF Project,
>>>> each with the diagram-specific annotation in the domain model. This
>>>> would mean to copy the domain model into each diagram project. Is this
>>>> correct?!
>>>>
>>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>>> developing everything from scratch manually with GMF
>>>>
>>>> Timothy
>>>
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #584351 is a reply to message #505873] Tue, 05 January 2010 12:30 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

Multiple diagrams are not supported natively. I must admit I haven't
tried the workaround you're suggesting (copying the domain model into
each diagram project) but I think it should work. In any case could you
please file an enhancement request in the bugzilla so that we can keep
track of this?

Cheers,
Dimitris

Timothy Marc wrote:
> Hi all,
>
> i've just started working with EUGENIA (today) and before digging deeper
> into that stuff, i wanted to ask, whether it is possible to create
> specific diagrams of existing model elements.
>
> My model root contains several trees. I now want to realize two
> different diagrams: 1. a diagram that contains and relates the trees,
> and 2. a diagram for each tree to define the tree itself.
>
> I think each new diagram has to be generated in a seperate GMF Project,
> each with the diagram-specific annotation in the domain model. This
> would mean to copy the domain model into each diagram project. Is this
> correct?!
>
> Thanks a lot. EUGENIA looks very promising to me, in contrast to
> developing everything from scratch manually with GMF
>
> Timothy


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #584380 is a reply to message #505874] Wed, 06 January 2010 07:54 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Dimitris,

thank for the quick response. I will investigate this a bit later. By
the way, is it somehow possible to let an initialize or use an editor
with an already existing model file? Currently, everytime i open a new
editor, he asks for a new model file to create.

Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> Multiple diagrams are not supported natively. I must admit I haven't
> tried the workaround you're suggesting (copying the domain model into
> each diagram project) but I think it should work. In any case could you
> please file an enhancement request in the bugzilla so that we can keep
> track of this?
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've just started working with EUGENIA (today) and before digging deeper
>> into that stuff, i wanted to ask, whether it is possible to create
>> specific diagrams of existing model elements.
>>
>> My model root contains several trees. I now want to realize two
>> different diagrams: 1. a diagram that contains and relates the trees,
>> and 2. a diagram for each tree to define the tree itself.
>>
>> I think each new diagram has to be generated in a seperate GMF Project,
>> each with the diagram-specific annotation in the domain model. This
>> would mean to copy the domain model into each diagram project. Is this
>> correct?!
>>
>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>> developing everything from scratch manually with GMF
>>
>> Timothy
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #584442 is a reply to message #506105] Wed, 06 January 2010 12:44 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

You can right-click on the model file and click "Initialize xxx diagram
file".

Cheers,
Dimitris

Timothy Marc wrote:
> Dimitris,
>
> thank for the quick response. I will investigate this a bit later. By
> the way, is it somehow possible to let an initialize or use an editor
> with an already existing model file? Currently, everytime i open a new
> editor, he asks for a new model file to create.
>
> Timothy
>
> Dimitris Kolovos schrieb:
>> Hi Timothy,
>>
>> Multiple diagrams are not supported natively. I must admit I haven't
>> tried the workaround you're suggesting (copying the domain model into
>> each diagram project) but I think it should work. In any case could you
>> please file an enhancement request in the bugzilla so that we can keep
>> track of this?
>>
>> Cheers,
>> Dimitris
>>
>> Timothy Marc wrote:
>>> Hi all,
>>>
>>> i've just started working with EUGENIA (today) and before digging deeper
>>> into that stuff, i wanted to ask, whether it is possible to create
>>> specific diagrams of existing model elements.
>>>
>>> My model root contains several trees. I now want to realize two
>>> different diagrams: 1. a diagram that contains and relates the trees,
>>> and 2. a diagram for each tree to define the tree itself.
>>>
>>> I think each new diagram has to be generated in a seperate GMF Project,
>>> each with the diagram-specific annotation in the domain model. This
>>> would mean to copy the domain model into each diagram project. Is this
>>> correct?!
>>>
>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>> developing everything from scratch manually with GMF
>>>
>>> Timothy
>>
>>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #585344 is a reply to message #506172] Thu, 28 January 2010 19:58 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi Dimitris,

okay, that works fine. Thanks for that hint, BUT: Is it possible to
modify the built-in "new diagram" wizard to contribute the new created
model elements into an already existing model file?! Currently, it is
only possible to create new files by using the "new diagram" wizard.

Thanks in advance
Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> You can right-click on the model file and click "Initialize xxx diagram
> file".
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Dimitris,
>>
>> thank for the quick response. I will investigate this a bit later. By
>> the way, is it somehow possible to let an initialize or use an editor
>> with an already existing model file? Currently, everytime i open a new
>> editor, he asks for a new model file to create.
>>
>> Timothy
>>
>> Dimitris Kolovos schrieb:
>>> Hi Timothy,
>>>
>>> Multiple diagrams are not supported natively. I must admit I haven't
>>> tried the workaround you're suggesting (copying the domain model into
>>> each diagram project) but I think it should work. In any case could you
>>> please file an enhancement request in the bugzilla so that we can keep
>>> track of this?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Timothy Marc wrote:
>>>> Hi all,
>>>>
>>>> i've just started working with EUGENIA (today) and before digging deeper
>>>> into that stuff, i wanted to ask, whether it is possible to create
>>>> specific diagrams of existing model elements.
>>>>
>>>> My model root contains several trees. I now want to realize two
>>>> different diagrams: 1. a diagram that contains and relates the trees,
>>>> and 2. a diagram for each tree to define the tree itself.
>>>>
>>>> I think each new diagram has to be generated in a seperate GMF Project,
>>>> each with the diagram-specific annotation in the domain model. This
>>>> would mean to copy the domain model into each diagram project. Is this
>>>> correct?!
>>>>
>>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>>> developing everything from scratch manually with GMF
>>>>
>>>> Timothy
>>>
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #585362 is a reply to message #510850] Thu, 28 January 2010 20:01 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

The "new diagram" wizard is a feature of GMF (not Eugenia). I'm sure you
can achieve this somehow but I must admit I don't have any experience
with this. I'd suggest asking about this in the GMF newsgroup.

Cheers,
Dimitris

Timothy Marc wrote:
> Hi Dimitris,
>
> okay, that works fine. Thanks for that hint, BUT: Is it possible to
> modify the built-in "new diagram" wizard to contribute the new created
> model elements into an already existing model file?! Currently, it is
> only possible to create new files by using the "new diagram" wizard.
>
> Thanks in advance
> Timothy
>
> Dimitris Kolovos schrieb:
>> Hi Timothy,
>>
>> You can right-click on the model file and click "Initialize xxx diagram
>> file".
>>
>> Cheers,
>> Dimitris
>>
>> Timothy Marc wrote:
>>> Dimitris,
>>>
>>> thank for the quick response. I will investigate this a bit later. By
>>> the way, is it somehow possible to let an initialize or use an editor
>>> with an already existing model file? Currently, everytime i open a new
>>> editor, he asks for a new model file to create.
>>>
>>> Timothy
>>>
>>> Dimitris Kolovos schrieb:
>>>> Hi Timothy,
>>>>
>>>> Multiple diagrams are not supported natively. I must admit I haven't
>>>> tried the workaround you're suggesting (copying the domain model into
>>>> each diagram project) but I think it should work. In any case could you
>>>> please file an enhancement request in the bugzilla so that we can keep
>>>> track of this?
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Timothy Marc wrote:
>>>>> Hi all,
>>>>>
>>>>> i've just started working with EUGENIA (today) and before digging
>>>>> deeper
>>>>> into that stuff, i wanted to ask, whether it is possible to create
>>>>> specific diagrams of existing model elements.
>>>>>
>>>>> My model root contains several trees. I now want to realize two
>>>>> different diagrams: 1. a diagram that contains and relates the trees,
>>>>> and 2. a diagram for each tree to define the tree itself.
>>>>>
>>>>> I think each new diagram has to be generated in a seperate GMF
>>>>> Project,
>>>>> each with the diagram-specific annotation in the domain model. This
>>>>> would mean to copy the domain model into each diagram project. Is this
>>>>> correct?!
>>>>>
>>>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>>>> developing everything from scratch manually with GMF
>>>>>
>>>>> Timothy
>>>>
>>
>>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #585861 is a reply to message #505874] Mon, 08 February 2010 08:34 Go to previous messageGo to next message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi Dimitris,

i tried to implement different diagram types for one model by
diversifying the *.ecore and *.genmodel for each new diagram. That works
very well, except the cumbersome process flow if something has changed
in the model. However, the workflow as it is enables me to create
different views (like in UML) as well as open a different editor by
double-clicking a particular node in the diagram.

So far
Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> Multiple diagrams are not supported natively. I must admit I haven't
> tried the workaround you're suggesting (copying the domain model into
> each diagram project) but I think it should work. In any case could you
> please file an enhancement request in the bugzilla so that we can keep
> track of this?
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've just started working with EUGENIA (today) and before digging deeper
>> into that stuff, i wanted to ask, whether it is possible to create
>> specific diagrams of existing model elements.
>>
>> My model root contains several trees. I now want to realize two
>> different diagrams: 1. a diagram that contains and relates the trees,
>> and 2. a diagram for each tree to define the tree itself.
>>
>> I think each new diagram has to be generated in a seperate GMF Project,
>> each with the diagram-specific annotation in the domain model. This
>> would mean to copy the domain model into each diagram project. Is this
>> correct?!
>>
>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>> developing everything from scratch manually with GMF
>>
>> Timothy
>
>
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #585871 is a reply to message #512859] Mon, 08 February 2010 09:36 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
Hi Timothy,

Great news. Thanks for sharing! Would it by any chance be possible to
contribute a minimal example illustrating this so that we can put it the
examples section of the site?

Cheers,
Dimitris

Timothy Marc wrote:
> Hi Dimitris,
>
> i tried to implement different diagram types for one model by
> diversifying the *.ecore and *.genmodel for each new diagram. That works
> very well, except the cumbersome process flow if something has changed
> in the model. However, the workflow as it is enables me to create
> different views (like in UML) as well as open a different editor by
> double-clicking a particular node in the diagram.
>
> So far
> Timothy
>
> Dimitris Kolovos schrieb:
>> Hi Timothy,
>>
>> Multiple diagrams are not supported natively. I must admit I haven't
>> tried the workaround you're suggesting (copying the domain model into
>> each diagram project) but I think it should work. In any case could you
>> please file an enhancement request in the bugzilla so that we can keep
>> track of this?
>>
>> Cheers,
>> Dimitris
>>
>> Timothy Marc wrote:
>>> Hi all,
>>>
>>> i've just started working with EUGENIA (today) and before digging deeper
>>> into that stuff, i wanted to ask, whether it is possible to create
>>> specific diagrams of existing model elements.
>>>
>>> My model root contains several trees. I now want to realize two
>>> different diagrams: 1. a diagram that contains and relates the trees,
>>> and 2. a diagram for each tree to define the tree itself.
>>>
>>> I think each new diagram has to be generated in a seperate GMF Project,
>>> each with the diagram-specific annotation in the domain model. This
>>> would mean to copy the domain model into each diagram project. Is this
>>> correct?!
>>>
>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>> developing everything from scratch manually with GMF
>>>
>>> Timothy
>>
>>


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EUGENIA] Different types of diagrams like UML2 Tools [message #585882 is a reply to message #585871] Mon, 08 February 2010 10:24 Go to previous message
Timothy Marc is currently offline Timothy Marc
Messages: 547
Registered: July 2009
Senior Member
Hi Dimitris,

yes, i can do so, but i won't do this until mid of march (due to some
project deadlines).

So far (until my next questions :-) )
Timothy

Dimitris Kolovos schrieb:
> Hi Timothy,
>
> Great news. Thanks for sharing! Would it by any chance be possible to
> contribute a minimal example illustrating this so that we can put it the
> examples section of the site?
>
> Cheers,
> Dimitris
>
> Timothy Marc wrote:
>> Hi Dimitris,
>>
>> i tried to implement different diagram types for one model by
>> diversifying the *.ecore and *.genmodel for each new diagram. That works
>> very well, except the cumbersome process flow if something has changed
>> in the model. However, the workflow as it is enables me to create
>> different views (like in UML) as well as open a different editor by
>> double-clicking a particular node in the diagram.
>>
>> So far
>> Timothy
>>
>> Dimitris Kolovos schrieb:
>>> Hi Timothy,
>>>
>>> Multiple diagrams are not supported natively. I must admit I haven't
>>> tried the workaround you're suggesting (copying the domain model into
>>> each diagram project) but I think it should work. In any case could you
>>> please file an enhancement request in the bugzilla so that we can keep
>>> track of this?
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Timothy Marc wrote:
>>>> Hi all,
>>>>
>>>> i've just started working with EUGENIA (today) and before digging deeper
>>>> into that stuff, i wanted to ask, whether it is possible to create
>>>> specific diagrams of existing model elements.
>>>>
>>>> My model root contains several trees. I now want to realize two
>>>> different diagrams: 1. a diagram that contains and relates the trees,
>>>> and 2. a diagram for each tree to define the tree itself.
>>>>
>>>> I think each new diagram has to be generated in a seperate GMF Project,
>>>> each with the diagram-specific annotation in the domain model. This
>>>> would mean to copy the domain model into each diagram project. Is this
>>>> correct?!
>>>>
>>>> Thanks a lot. EUGENIA looks very promising to me, in contrast to
>>>> developing everything from scratch manually with GMF
>>>>
>>>> Timothy
>>>
>
>
Previous Topic:Transform UML Class diagram to UML Class diagram
Next Topic:[EOL, Ecore2GMF.eol] How duplicate GmfMap!NodeMapping?
Goto Forum:
  


Current Time: Wed Oct 22 09:54:07 GMT 2014

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

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