Switching from Rhapsody to Eclipse (Papyrus) - UML model conversion? - eclipse

Our team has been using Rhapsody for developing UML models and c++ code for 10+ years, and we would like to switch to Eclipse and use Papyrus for UML modeling.
We have compatibility concerns: would the UML models (all class diagrams, state machines etc) created in Rhapsody be all portable to Papyrus/Eclipse easily? Rhapsody can export UML models into XMI files (UML 2.1, 2.2, 2.3 standards). My questions is: is Papyrus able to reconstruct diagrams from XMI files
If not, are there better alternative UML plugins that work in Eclipse?
The XMI file exported by Rhapsody contains only meta data of the models. Is there a quick way to port the entire project from Rhapsody into Eclipse? Anybody experienced the similar?
Your answers will be much appreciated.

First, I must mention that I am directly involved with Papyrus, especially with the brand new Papyrus for Real Time project, at Eclipse.
First to set expectations... Moving diagrams between modeling tools has always been an exercise in frustration... There have been "standards" over the years (e.g., OMG's XMI-DI), but none seem to have been fully successful and all have necessitated a manual review. Note that I have not tried with the latest version of UML (2.5).
Now the model semantics, however, have a tendency to be more portable, especially with more recent versions of UML. I am not sure which version Rhapsody pretends to support, so it would be difficult to comment further.
With the version of Papyrus that is currently in development (with a scheduled June 2015 release), the notion of "canonical" diagram has been added. This provides for automatic creation and update of some diagrams under certain condition. for example, many behaviour diagrams, such sequence diagrams and some structure diagram, such as composite structure, can be canonical and generated from the semantic model. However, layout would still need to be adjusted. Other diagrams, such as class diagrams, would have to be manually re-created.
As was mentioned in the comment to your question, trying it out would give you the best indication of how much work is involved.

I am interested in this topic and I did a simple research on it: in fact a connector between RSA and Ppayrus is already open source https://www.eclipse.org/forums/index.php/t/835114/ it could be usefull to take a look at it and implement the same for Rhapsody.
I know that the Rhapsody XMI export did not export the graphical elements, you should probably then export them in a serialized format and mapping htem to papyrus diagram element.
other interested work but seems not to be free : modelbus https://www.modelbus.org/en/rhapsody.html which implement connectors with Papyrus EA and Rhapsody : could be also interesting to look at.
I am interested in your feedback if you did not let it down and do achive the mapping :)

Related

Adding combined fragments in UML Designer for Eclipse

I'm using the latest version of UML Designer (7.1) for Eclipse. I have to create a Sequence Diagram, but in the palettes there are no combined Fragments. All I have are actors and sync/async messages. In some tutorials I've seen seen palettes with comb. fragments.. But I don't have them. How is it possible?
The combined fragments are not implemented in UML Designer and there is no plan to implement them at the moment.
As UML Designer is based on Eclipse Sirius, it is possible to do it and maybe you saw the same kind of features in another Sirius based modeler.
If you are interested in sponsoring us to implement this feature do not hesitate to comment the existing issue :
https://github.com/ObeoNetwork/UML-Designer/issues/175

Draw a graphical UML diagram from .uml files of Eclipse UML2

I have created MyExample.uml file through Eclipse UML2 package.
(I followed http://wiki.eclipse.org/MDT/UML2/Getting_Started_with_UML2 )
Then I got the XMI file defining UML components and relations.
Then, how can I draw a graphical UML diagram from this XMI automatically?
Disclaimer: I haven't tested this so can't confirm it works. It is documented however.
Install Papyrus.
Follow these instructions to generate a diagram.
Like you I suspect, I assumed the standard Eclipse Modelling Tools would include graphical editors. If they do I didn't find them. By installing Papyrus I was able to create uml diagrams manually; hopefully you can generate one too.
If you try this, it would be good to know if it works. Again apologies for not testing before posting, I don't have access to a suitable environment at the moment.
hth.

Eclipse modeling

I search for tool that can generate code from UML diagram for Eclipse. The tool should generate code from UML diagram, reverse engeneering to see code changes, and merge option to prevent the deletion of the file for any change.
Is there tool that do that, or is it too much to ask?
If you like Eclipse based tools, I could recommend the free Uml to Java generator from Obeo, which may be downloaded from the Marketplace:
Help -> Eclipse Marketplace...
However, I think that it doesn´t completely fit your needs, since I believe that it doesn´t provide reverse engineering facilities. Also note that they use Acceleo for code generation, which is the reference OMG specification implementation.

UML tool for reverse engineering an eclipse project

I am currently working on a project in Eclipse but the problem is that this project is very big (a lot of codes, classes, packages, etc) and undocumented. Since, the project is written in Java, my idea was to make a reverse enineering of the project to see his architecture in UML. Do you know an eclipse plugin who can complete this task very easily? Thanks for your answer !!
I think MoDisco is what you are looking for ( here for a short intro)
It seems that the question is dealing with Eclipse plugin therefore Modisco and StartUML are not a possible choice because they are either not a graphical class diagram viewwer or an Eclipse plugin.
The tools that I have evaluated and selected are:
Topcased can reverse a project and gives an UML view. The reverse is good even if not recursive. I mean that you can detect only object having their own information such as class, interface, package, method and attributes but you can not detect calls between classes because this require a recursive reverse.
eUML will give you a visual class diagrams and the possibility to navigate but no model only EMF tags inserted inside your own code. I like the visual representation of the class diagram but having EMF tags in my code is too intrusive !!
You can try RSA which is a pretty good reverse having a real UML model but you will also get EMF tag in your code
The best for me and with no doubt is EclipseUML Omondo with no tag in the code and a high quality UML model but it is really too expensive !!
I'd advise StarUML or StavrUML, the unofficial fork. It reverse engineers code compliant with Java versions before 1.6 or something. Yes, the project was abandoned years ago, but the UML editor remains incredibly strong and powerful.
However, I'd avoid using reverse engineering a UML diagram. You'll probably get an unreadable mess out if it. Just get stuck in and make it manually :)
I'm sure you can find a suitable tool for your needs if you check these.

Java class diagrams for Eclipse? (Galileo 3.52)

I'm a Java/Eclipse noob and I want to generate class diagrams from my source. I'm unemployed so Free would be a good price. What are some reasonably stable plugins for Galileo to do this?
BTW, I know the Eclipse project has a UML sub-project. I couldn't quite tell what state of readiness it was in or whether it could generate class diagrams from my source code. UML is probably overkill for what I want - it does a LOT more than class diagrams - but I'll take it if it's my best option.
Does anyone have any experience with ObjectAid? (in their FAQ ObjectAid refers to a commercial version the download looked free so I was a little confused)
Thanks in advance!
I recommend you eUml2 (Eclipse UML subproject isn't enough mature yet):
http://www.soyatec.com/euml2/
I used it last week to do reverse engineering (generate diagram from source), works pretty well and annotation based.
I hate creating this kind of diagram and this tool saved a HUGE amount of time, by creating beautiful diagram from my soure code.
There is a free version ! ... the one I used.