Skip to main content



      Home
Home » Modeling » MoDisco » Auto-Reverse Engineering(Usage)
Auto-Reverse Engineering [message #665963] Mon, 18 April 2011 07:49 Go to next message
Eclipse UserFriend
Dear All,

I'm trying to use the reverse engineering functionality in modisco. I want to know how to generate the reverse engineering class diagram from the source code. Currently, I've loaded all the source code in to eclipse and using the modisco, I discovered the KDM. Then, based on the KDM I discover the UML model. By using the papyrus, I drag and drop the model to get the class diagram.

Is it the 'drag and drop' classes is the only way to get the class diagram? or there is other way that I can generate the class diagram automatically. I really need your advice.

Thank you.
Re: Auto-Reverse Engineering [message #666172 is a reply to message #665963] Tue, 19 April 2011 07:56 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

Using the provided MoDisco discoverers, you can get the following models from your Java applications/plugins:

Java -> KDM -> UML2 (Class diagram)

But what you get finally is the actual UML2 model, and not the diagram in itself.
For initializing the additional "diagram" file and doing some automatic layout (from this actual UML2 model), you should take a look to the support provided by the MDT-UML2 or Papyrus projects.

Anyway, you can also use the customized MoDisco Model Browser in order to easily navigate through your potentially complex UML2 models: http://wiki.eclipse.org/MoDisco/Components/ModelBrowser

I hope this help!

Best regards,

Hugo
Re: Auto-Reverse Engineering [message #769788 is a reply to message #665963] Thu, 22 December 2011 12:05 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I am also trying to reverse-engineer my model and build a class diagram. Got Papyrus and MoDisco installed (on Helios), and created a Papyrus class diagram but the drag-and-drop does not seem to work.
Could you please describe in a bit more detail how you got the class drag-and-drop working?

Kind regards,
Constantin
Re: Auto-Reverse Engineering [message #771113 is a reply to message #769788] Mon, 26 December 2011 05:47 Go to previous message
Eclipse UserFriend
Hello,

As you can see in http://youtu.be/n2iF8y7U2AM, it works for me with the following configuration:

Eclipse Indigo SR1:
- Eclipse Platform 3.7.1
- MoDisco Model Filter (Incubation) 0.9.1.v201109150824
- MoDisco SDK (Incubation) 0.9.1.v201109150824
- MDT Papyrus - SDK: Runtime, Tools, Documentation and sources (Incubation) 0.8.1.v201109161105

You should try to use Indigo.

Regards,
Grégoire Dupé

[Updated on: Mon, 26 December 2011 05:47] by Moderator

Previous Topic:Compare two source code files using EMF
Next Topic:EMF editor for Java metamodel: is it possible?
Goto Forum:
  


Current Time: Fri May 16 14:25:00 EDT 2025

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

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

Back to the top