| You can see the linked video in the part demo of BlueXML Developer Studio : click here ! |
Extract data from the ArgoUML file
It's important to note that an ArgoUML file is only a compressed file containing a XMI file.
As an ArgoUML file is a compressed file, we can extract the XMI file and to convert to an OBL file. First, we go in the contextual menu of the ArgoUML file and we select "OMF Transformation > Extract XMI". After that the XMI file is created, we refresh the folder to see the file and we go in the contextual menu of the XMI file and we select "OMF Generation > Generate OBL". If we have no errors, we can refresh the folder and see the OBL file generated.
Create OBLDI file to see graphicly the diagram
We have created an OBL file. This file contains all data but we can't open this file with the editor provided by BlueXML Developer Studio. We must create an OBLDI file to have a graphic visualization.
To create an OBLDI file, we go in the contextual menu of the OBL file and we select "OMF Generation > Initialize obldi file". We have the choice to create an use case diagram or a class diagram. It's the type of the root diagram. Of course, it's possible to create many diagrams in one file but we must choose the diagram's type for the first diagram.
We can refresh the folder to see the new OBLDI file. When we open the file, the editor provided by BlueXML Developer Studio contains any element but the OBLDI file is directly linked to the OBL file which contains data. To visualize elements in the editor, we must select its in the outline view and drag and drop this elements in the white part.
Modify the diagram
You can now add new elements on the diagram and the file OBL will be modified automatically. But it's important to note that the new elements are created on the same level that the element corresponding to the diagram. If you have many package and you want to create elements in a particular package, you must create a new diagram in this package and add elements in this diagram.
|
It's impossible to move elements in the outline view but you can move its if you open the OBL file. You can see how to do that in the tutorial about this topic. |


