Microsoft announced some time ago that it endorses UML and that it set a core focus on modeling. It therefore announced its membership in the standards body Object Management Group™ (OMG™).
![Microsoft-UML-banner Microsoft-UML-banner](http://lh3.ggpht.com/_tBdbk_GzSJ4/SvQtvnuUbhI/AAAAAAAAAq8/4_NpNrVMZbE/Microsoft-UML-banner%5B5%5D.gif?imgmax=800)
![logo-omg logo-omg](http://lh6.ggpht.com/_tBdbk_GzSJ4/SvQtwCD9OrI/AAAAAAAAArA/Evw6q3CtMiY/logo-omg%5B3%5D.jpg?imgmax=800)
The next version of Visual Studio will include a quite sophisticated set of tools and features for UML Modeling and its associated Code Generation.
I recently installed Visual Studio 2010 Ultimate Beta 2 in a Hyper-V Virtual Machine to test these new UML features. The following steps are necessary to use them.
- Create a new project of type “Modeling Project”
![VS2010_B2_ModelingProject VS2010_B2_ModelingProject](http://lh5.ggpht.com/_tBdbk_GzSJ4/SvQtxqbuLeI/AAAAAAAAArI/9cwotp3-rhg/VS2010_B2_ModelingProject_thumb%5B8%5D.jpg?imgmax=800)
- This will create the basic structure for the UML Models
![VS2010_B2_ModelingProject2 VS2010_B2_ModelingProject2](http://lh3.ggpht.com/_tBdbk_GzSJ4/SvQtzDPONwI/AAAAAAAAArQ/SP07wPUuV_Q/VS2010_B2_ModelingProject2_thumb%5B4%5D.jpg?imgmax=800)
- There are 7 diagram choices currently possible in the Beta 2 release, Add a “UML Class Diagram”
![VS2010_B2_ModelingProject3 VS2010_B2_ModelingProject3](http://lh3.ggpht.com/_tBdbk_GzSJ4/SvQt0dKlzlI/AAAAAAAAArY/zLm4VcWg3ck/VS2010_B2_ModelingProject3_thumb%5B3%5D.jpg?imgmax=800)
- The Toolbox is now filled with elements that are useful for the creation of classes and class relationships
![UMLClassDiagram1 UMLClassDiagram1](http://lh3.ggpht.com/_tBdbk_GzSJ4/SvQt1PUm4CI/AAAAAAAAArc/9aXQ7LJ20vE/UMLClassDiagram1_thumb%5B2%5D.jpg?imgmax=800)
- Add some elements and design your classes
![UMLClassDiagram2 UMLClassDiagram2](http://lh5.ggpht.com/_tBdbk_GzSJ4/SvQt2bMH4YI/AAAAAAAAAro/bhE3dgQIxB8/UMLClassDiagram2_thumb%5B2%5D.jpg?imgmax=800)
![UMLClassDiagram3 UMLClassDiagram3](http://lh4.ggpht.com/_tBdbk_GzSJ4/SvQt4EJPT8I/AAAAAAAAArw/m19aIJ-_bJk/UMLClassDiagram3_thumb%5B2%5D.jpg?imgmax=800)
- Add a “UML Sequence Diagram”, the Toolbox is now filled with elements that are useful for the creation of interactions
![UMLSequenceDiagram1 UMLSequenceDiagram1](http://lh5.ggpht.com/_tBdbk_GzSJ4/SvQt5p3eOAI/AAAAAAAAAr4/djXdwdn6i40/UMLSequenceDiagram1_thumb%5B2%5D.jpg?imgmax=800)
- Add some elements and design your interactions
![UMLSequenceDiagram2 UMLSequenceDiagram2](http://lh5.ggpht.com/_tBdbk_GzSJ4/SvQt8gyeJMI/AAAAAAAAAr8/wjFR_3D8kGQ/UMLSequenceDiagram2_thumb%5B2%5D.jpg?imgmax=800)
- Add a “UML Use Case Diagram”, the Toolbox is now filled with elements that are useful for the creation of use cases
![UMLUseCaseDiagram1 UMLUseCaseDiagram1](http://lh5.ggpht.com/_tBdbk_GzSJ4/SvQt-cOHa5I/AAAAAAAAAsE/rnXfjqfNQcg/UMLUseCaseDiagram1_thumb%5B3%5D.jpg?imgmax=800)
- Add some elements and design your use cases (note that it is not possible to declare extension points in the Beta 2 release at the moment)
![UMLUseCaseDiagram2 UMLUseCaseDiagram2](http://lh5.ggpht.com/_tBdbk_GzSJ4/SvQt_Kkc84I/AAAAAAAAAsI/1HnNfoJvCUU/UMLUseCaseDiagram2_thumb%5B2%5D.jpg?imgmax=800)
- Add a “UML Activity Diagram”, the Toolbox is now filled with elements that are useful for the creation of actions
![UMLActivityDiagram1 UMLActivityDiagram1](http://lh4.ggpht.com/_tBdbk_GzSJ4/SvQuAXuGIMI/AAAAAAAAAsQ/pNzam2gyZMg/UMLActivityDiagram1_thumb%5B2%5D.jpg?imgmax=800)
- Add some elements and design your actions (note that there are sometimes little display problems, especially when using decision nodes and input pins)
![UMLActivityDiagram2 UMLActivityDiagram2](http://lh4.ggpht.com/_tBdbk_GzSJ4/SvQuA9Xk_wI/AAAAAAAAAsU/yMWdzyaInJo/UMLActivityDiagram2_thumb%5B2%5D.jpg?imgmax=800)
- Add a “UML Component Diagram”, the Toolbox is now filled with elements that are useful for the creation of components and component relationships
![UMLComponentDiagram1 UMLComponentDiagram1](http://lh6.ggpht.com/_tBdbk_GzSJ4/SvQuCIClgCI/AAAAAAAAAsc/IaOfKGxkHk0/UMLComponentDiagram1_thumb%5B2%5D.jpg?imgmax=800)
- Add some elements and design your components (note that Delegations and Part Assemblies don’t work in the Beta 2 release)
![UMLComponentDiagram2 UMLComponentDiagram2](http://lh4.ggpht.com/_tBdbk_GzSJ4/SvQuDaQeVvI/AAAAAAAAAsk/_JE_vYSB7cY/UMLComponentDiagram2_thumb%5B2%5D.jpg?imgmax=800)
- The “Layer Diagram” and “Directed Graph Document” are no UML Diagrams, so I won’t discuss them in this article
- You can use the new UML Model Explorer to see all elements for all diagrams in one place
![UMLModelExplorer UMLModelExplorer](http://lh6.ggpht.com/_tBdbk_GzSJ4/SvQuEiFD8PI/AAAAAAAAAss/8sPKyZfZxVc/UMLModelExplorer_thumb%5B2%5D.jpg?imgmax=800)
![Share/Save/Bookmark](http://static.addtoany.com/buttons/share_save_171_16.png)
2 comments:
You might be interested to know that I describe the new Visual Studio 2010 UML features in a new book "UML Software Design with Visual Studio 2010".
Tony Loton
http://www.lotontech.com/uml
great thanx!!
Post a Comment