Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
Products
Visual Paradigm for UML
Smart Development Environment
DB Visual ARCHITECT
Business Process Visual ARCHITECT
Agilian
Visual Paradigm Suite
DB Visual ARCHITECT SQL
Teamwork Server
Home » Highlights »
Printer Friendly Version
 
 

Support UML2 XMI

UML2 is an EMF-based (EMF: Eclipse Modeling Framework) implementation of the UML 2.x metamodel for the Eclipse platform. Visual Paradigm supports importing and exporting UML2 model through XMI, which is the default serialized form of EMF.

Export Project as UML2 XMI
Export UML2 XMI
Suppose the following class diagram is drawn in VP-UML.
Let's export the VP-UML project as UML2 XMI.
1. Select File > Export > XMI... from the main menu.
This shows the Export XMI dialog.
2. Enter the File path of the XMI file, select XMI 2.1 as the XMI version and check Export for UML2.
This exports the UML2 XMI file to the path specified.
Edit UML2 Model in Eclipse
After exporting the model to UML2 XMI, let's edit the UML2 XMI in Eclipse with the UML2 plugin.
1. Right-click on the UML2 XMI file in the project tree and select Open with > UML Model Editor from the popup menu.
The UML2 XMI file is opened with UML Model Editor, which lists the models in a model tree.
Modify an Existing Model
The Properties View is where you can read and modify the properties of the selected UML model.
1. To open the Properties View, right-click on the model and select Show Properties View from the popup menu.
This shows the Properties View
2. To edit the properties of the model, double-click on the Value field, enter the new value and press Enter to confirm editing.
Add a New UML Model
As mentioned earlier, a UML model is represented as a tree node in the UML model Editor. To add or remove a model, simply create or delete a tree node. For instance, to add an attribute in the Order class:
1. Right-click on the Order class tree node, and select New Child > Property from the pop-up menu.
2. Enter the name of the attribute in Properties View.
3. Choose the data type of the attribute.
The attribute prepaid:double is added to the Order class.
Import UML2 XMI to VP
1. Select File > Import > XMI... from the main menu.
2. Enter the File path that point to the UML2 XMI file.
3. Press the OK button.
The model is updated by applying the changes made in Eclipse.
The association between Customer and Order
The attribute prepaid is added to the Order class

Resources

• Look at the features of Visual Paradigm for UML
http://www.visual-paradigm.com/product/vpuml/features/
• Get the Free 30 Days Trial of Visual Paradigm for UML
http://www.visual-paradigm.com/product/vpuml/vpumldownload.jsp
• Learn more on visual modeling feature from Visual Paradigm for UML's online documentation
http://www.visual-paradigm.com/product/vpuml/vpumluserguide.jsp
• View Visual Paradigm for UML's Interactive Tutorials
http://www.visual-paradigm.com/product/vpuml/tutorials/
• For more about Eclipse UML2 plugin
http://eclipse-plugins.2y.net/eclipse/index.jsp
 
 
 
Home | Products | Shop | Download | Product Support | Resources | Company | Contact Us | Site Map
Patents pending. All rights reserved.
Legal Privacy Statement