Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to generate the diagram of the subpackages in a metamodel desribed in ecore?
How to generate the diagram of the subpackages in a metamodel desribed in ecore? [message #165477] Fri, 14 December 2007 16:25 Go to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,
As we know, we can right click an ecore model in the navigator of
eclipse to generate the diagram file for this model. Open this diagram file,
then we can visulize the model. However, only the classes in the topmost
packages will be drawn on the diagram. I also hope to visulize the classes
in the sub-packages. I don't know how to do it.
Thanks for your hint.
Michael.
Re: How to generate the diagram of the subpackages in a metamodel desribed in ecore? [message #165605 is a reply to message #165477] Mon, 17 December 2007 11:02 Go to previous messageGo to next message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
Michael,

Do you want to visualize all of them on the same diagram ?
- If yes, you can try to DND the expected class from the Project
Explorer view.
- If no, you can probably double click on the Package you want to go
into : this will create a new diagram and will populate with the
EClasses that are contained inside.

A little advertisement ... Do you know the Ecore Tools project ? Feel
free to use try it and give us your feedback about missing features that
you would expect ! ;-)

Regards,
Jacques

Michael a écrit :
> Hi,
> As we know, we can right click an ecore model in the navigator of
> eclipse to generate the diagram file for this model. Open this diagram file,
> then we can visulize the model. However, only the classes in the topmost
> packages will be drawn on the diagram. I also hope to visulize the classes
> in the sub-packages. I don't know how to do it.
> Thanks for your hint.
> Michael.
>
>
Re: How to generate the diagram of the subpackages in a metamodel desribed in ecore? [message #165660 is a reply to message #165605] Mon, 17 December 2007 15:42 Go to previous messageGo to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
Hi Jacques:
Thanks for your help. I have no idea of Ecore Tools project. Anyway, I
will try it and give you some feedback.
However, would you please tell me what DND stands for?
Thanks.
Michael.
"Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
news:fk5kv3$5fs$1@build.eclipse.org...
> Michael,
>
> Do you want to visualize all of them on the same diagram ?
> - If yes, you can try to DND the expected class from the Project Explorer
> view.
> - If no, you can probably double click on the Package you want to go into
> : this will create a new diagram and will populate with the EClasses that
> are contained inside.
>
> A little advertisement ... Do you know the Ecore Tools project ? Feel free
> to use try it and give us your feedback about missing features that you
> would expect ! ;-)
>
> Regards,
> Jacques
>
> Michael a
Re: How to generate the diagram of the subpackages in a metamodel desribed in ecore? [message #165683 is a reply to message #165660] Mon, 17 December 2007 16:15 Go to previous message
Jacques LESCOT is currently offline Jacques LESCOTFriend
Messages: 247
Registered: July 2009
Senior Member
Sorry, DND for Drag and Drop.

Michael a écrit :
> Hi Jacques:
> Thanks for your help. I have no idea of Ecore Tools project. Anyway, I
> will try it and give you some feedback.
> However, would you please tell me what DND stands for?
> Thanks.
> Michael.
> "Jacques LESCOT" <jacques.lescot@anyware-tech.com> wrote in message
> news:fk5kv3$5fs$1@build.eclipse.org...
>> Michael,
>>
>> Do you want to visualize all of them on the same diagram ?
>> - If yes, you can try to DND the expected class from the Project Explorer
>> view.
>> - If no, you can probably double click on the Package you want to go into
>> : this will create a new diagram and will populate with the EClasses that
>> are contained inside.
>>
>> A little advertisement ... Do you know the Ecore Tools project ? Feel free
>> to use try it and give us your feedback about missing features that you
>> would expect ! ;-)
>>
>> Regards,
>> Jacques
>>
>> Michael a écrit :
>>> Hi,
>>> As we know, we can right click an ecore model in the navigator of
>>> eclipse to generate the diagram file for this model. Open this diagram
>>> file, then we can visulize the model. However, only the classes in the
>>> topmost packages will be drawn on the diagram. I also hope to visulize
>>> the classes in the sub-packages. I don't know how to do it.
>>> Thanks for your hint.
>>> Michael.
>
>
Previous Topic:Editor background image and zooming performance problem
Next Topic:Compartment
Goto Forum:
  


Current Time: Tue Aug 27 23:33:05 GMT 2024

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

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

Back to the top