Import Diagram into Teamwork Project

When you are working as a team member, the designs (diagrams) you draw in your project will be committed to server and will also be visible to other people in the team. Sometimes, you want to sketch out new ideas but without having them visible to other people as the sketches are just raw designs. One good way to perform sketching is to do it in a new project rather than the working one. At the end, import the needed part(s) back to the teamwork project and commit it to server to make it visible to others.

In this article, we will walk through the process of creating sketches in a separate, new project, and finally import one of the diagrams back to the working copy. Here you are a system designer of an online digital camera store. This is the use case model of the system to be implemented:

Use case model sample

Use case model sample

Now, you are thinking of the flow of the use case Buy Digital Camera. There are several possible solutions in your mind and you want to visualize them with sequence diagrams. This is the beginning of the story. Let’s see what comes next…

  1. Since the ideas are still in brainstorming stage, to avoid having them mixed up with the teamwork project, you try to visualize them in a separate project. Create a new project first (File > New Project). Give the project a name – Dummy(or whatever you like, just to indicate that it is for storing your sketches).

    Create a new project

    Create a new project

  2. Visualize your ideas in the new project. Here you have three possible solutions for how to accomplish the use case of buying digital camera. Let’s take a quick look.
    Plan A – Click on the Buy button in product page, and pay through the redirected payment page.

    Plan A

    Plan A

    Plan B – Click on the Buy button in product page to add the product to shopping cart, and finally pay through the shopping cart page.

    Plan B

    Plan B

    Plan C – Visit the payment page. Add the items to buy. Pay in the same page.

    Plan C

    Plan C

  3. You start to study the three designs, compare between them, and list out their pros and cons. You also print them out and discuss with the representative in the digital camera store. Finally, you decided to adopt plan B.
  4. Having decided plan B to be the solution, you want to migrate the design to working project. Instead of re-drawing the same diagram in the working project, you make use of the import-and-export function. Save the dummy project first (File > Save Project).
  5. Select File > Export > VP-UML Project… from the main menu.

    Export project

    Export project

  6. In the Export Project window, select Plan B in the diagram tree. You do this because you want to export the sequence diagram of plan B, not the other disregarded designs.

    Check Plan B

    Check Plan B

  7. Specify the output destination of the exported .vpp project file. Click Export.
  8. You need to open the working teamwork project now. Press Team in the toolbar, and select Teamwork Client…from the drop down menu.

    Open teamwork client

    Open teamwork client

  9. Select the original working project and click Open Project.

    Open project

    Open project

  10. Having opened the working project, select File > Import > VP-UML Project… from the main menu.

    Import project

    Import project

  11. Select the project exported in step 7 to import. Now, you see the adapted plan, Plan B, appears in the working project.

    Plan B is imported

    Plan B is imported

  12. Time to commit your work. Press Team in the toolbar, and select Commit…from the drop down menu. Follow the instruction on screen to finish up the commit process.

    Commit project

    Commit project

This is the end of the story. Hope you enjoy it. 🙂

How to try the sample

Download Dummy and then unzip it to get the .vpp project.

46 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply