Reuse Previous Work with Design Patterns

Written Date: October 20, 2008
User Rating: / 1 Hits: 1,772
Add your comment

Visual Paradigm introduced the Design Patterns support in this new release to enhance the reusability of your works which has been done in the previous projects. In many development scenarios, we often need to reuse, refine, elaborate and transcribe an portion of diagram, known as a design patterns, during the development process, or in between development phases. With this Design Pattern Repository, you now on longer to need re-modeling the frequently design patterns again and again.

1. Suppose you had a frequently used design Pattern as follow and you would like to keep it for reusing in other projects:
2. Ctrl-A to select all shapes (the entire class diagram)

(Tips: If you want just include a portion of the class diagram as a design pattern, just select those shapes to be included in the pattern)
3. Right click on any shape of the selected shape group and select "Define Design Pattern..." popup menu item
4. Save it as a pattern file on your hard disk
5. Now, suppose you would like to reuse the "Factory" Design Pattern in a new project

Then, Create New Project
6. Create New Class Diagram
7. Right click on the newly created Class Diagram and select "Apply Design Pattern..." in popup menu item
8. Select the Design Pattern file
9. Fill in the values for the design pattern
10. Click "OK" button to apply the information to the pattern
11. The design pattern had applied the inputed values to the pattern

Resources

• Visual Paradigm for UML Home
http://www.visual-paradigm.com/product/vpuml/
• Business Process Visual ARCHITECT
http://www.visual-paradigm.com/product/bpva/
• DB Visual ARCHITECT
http://www.visual-paradigm.com/product/dbva/
• SDE Home
http://www.visual-paradigm.com/product/sde/
• Download Free Community Edition of Visual Paradigm for UML
http://www.visual-paradigm.com/product/vpuml/vpumldownload.jsp?edition=ce
• Download Business Process Visual ARCHITECT
http://www.visual-paradigm.com/product/bpva/bpvadownload.jsp?edition=me
Software Maintenance VP-UML User's Guide

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code