how to export class diagram from cplusplus source code using rational software architect 9.0 - rational-rsa

I am using rational software architect 9.0. It uses like eclipse. I create a makefile project from existing code. That means I already have the c++ source code. Now I want to generate class diagram from these code. I find an article in chinese to describe how to do it using rose on website. But I dont know how to follow those steps. Because I did not find views described in those steps on my current edition, like, component view.
An eclipse is installed during installing RSA. I can open eclipse directly from the installed folder of RSA. I can import the existing source code as a project. I can see the class view from one of a header file. But just one header and one class. I dont know how to get the relation diagram of all classes from source code (hearder files or all source files including cpp files?).
I can open RSA from shortcut in desktop. I am using windows 10. But It seems not use the same workspace with eclipse. I can create an empty UML project. But what about the source code?
I still dont know how to get class diagram. Thread shows how to do it in EA instead of RSA 9.0
Now what I have is:
RSA9.0 which is more looks like eclipse.
source code looks like:
server
├───folder1
│ ├───ffirst1.h
│ ├───ffirst1.cpp
│ ├───Main.cpp
│ ├───makefile
│ ├───fsecond1.h
│ └───fsecond2.cpp
│
├───folder2
│ ├───sfirst1.h
│ ├───sfirst1.cpp
│ ├───ssecond1.h
│ ├───ssecond2.cpp
│ ├───Main.cpp
│ └───makefile
├───manager.sh
└───makefile
how to export class diagram from cplusplus source code(header files?) using rational software architect 9.0?
Does anyone can give me steps to this problem?
Any advices or experiences would be appreciated.
Thanks

"Working with C++ Visualization in IBM Rational Systems Developer" should be one of the answers. It might be not the perfect one. But it really can reverse class diagram from header files using visualization feature on the right click shortcut menu. Visualize > Add to New Diagram File > Class Diagram. The cplusplus project should already in the workspace, of course. At first, you should create one class diagram from a header file to a new class diagram file, then add other class diagrams from other header files in to this existed class diagram file.

Related

What tools can I use to open UML files generated by PhpStorm?

I've a few .uml files (class diagrams mostly) generated by PhpStorm. Are there any other tools that can open these (at least read, if not edit)?
You are lot of tools dealing with UML at visual-paradigm company : VISUAL PARADIGM and perhaps community edition available.
If yours files contains XMI serialisation of UML model i.e. that yours files should start by something like
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmlns:uml="http://www.omg.org/spec/UML/20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701">
<uml:Model etc
You just have to find a tool with a UML/XMI import feature. A lot of tool (open, free and commercial) provide this functionality some of them worked together in order to solve possible issue cf Model Interchange Working Group

modelio does not import overture uml exported file

I want to learn how to use Modelio and Overture together to learn to model programs with UML and VDM. The whole procedure about creating a UML model, exporting it to XMI (uml extension), and importing to Overture is done successfully.
However, when I try to export it back to Modelio, it brings "Failed: file content is not recognized as a valid model". Overture's tutorial tells it's possible to import/export back and forth; however, it seems the feature is broken as of now.
I may be doing something wrong. Maybe I have to set Overture in a certain way for Modelio to understand its exported XMI file. All of my online searches for a solution have been unsuccessful. How may I successfully export/import from Overture to Modelio?
I'm using Modelio 3.4.1 and Overture 2.3.0.
Thank you.

Is StartUML 2 compatible with its previous version?

Previously I used for my work StarUml on Windows, all the data is saved with .uml extension.
Now we move to iOS and I was pretty happy with the announcement of the new StarUML 2 for Mac. Although with this program all the data is saved with .umlj extension.
Does it mean that both version are incompatible or am I missing something?
Thank you in advance for your reply!
I think there are not compatible. I had the same problem.
I exported all my StarUML projects to XMI files and then I imported them all in GenMyModel. GenMyModel automatically detected the XMI format (UML 1.3) and it updated my class diagrams to UML2. Once imported, I could reuse my diagrams online and export them as images and XMI (UML2 files). That's the best bridge I could find out.

jdeveloper class diagram to image

I have jdeveloper Studio Edition Version 12.1.2.0.0
I have created a pretty complex UML class diagram, and the only way (that I know of) is to export it which creates an xmi file. Is there some sort of way to create an image of it? I can't do much with the XMI file other than import it back to jdeveloper..
Thanks!
Right click the diagram and choose Publish...

Eclipse Helios can't create ECore from XSD if the xsds are in the workspace

I have a bunch of XSD files in a folder under an Empty EMF project. I select new generator model, and it asks for a model source. If I select the main xsd from the browser workspace option (from a folder in the empty emf project), the import does not work.
I get Error: XSD type reference blabla is unresolved Uri:platform/resource....
If I copy the workspace folder to some other location and browse that via Browser file system option, everything works just fine.
What am I doing wrong?
Just in case anybody comes across the same problem, one of the schemas included another xsd with xsd name written in lowercase letters. The clue was given in this thread in the Eclipse community forums: http://www.eclipse.org/forums/index.php/m/786530/#msg_786530

Resources