Visio - Classifier does not show up in dropdown list

Some of the classes are not being properly imported into Visio resulting in them not showing up in the classifier list (specifically while trying to declare a sequence diagram object LifeLine).  Numerous attempts of making copies, moving to other projects and then back failed....  The following is the workaround that I found to work:

Note in figure 1 that BuildFailedException is not available in the Visio classifier list, without it we'll be unable to add it to our sequence diagram....

 

If we create a new class with the same name we'll have two of them in our list???  Curious as to why the other one now shows up... If we go back and delete the one we just added they will both drop from the list....

The solution is to keep the new class entry and drag/drop all of it's methods and properties into the new class.  From that point on Visio will display the class so that it can be used.   Not an optimal solution but sure beats having to reenter all of the properties, methods and the method parameters.


Tags: , ,
Categories: UML | Visio


Actions: E-mail | Permalink |  Grammar/Typo/Better way? Please let me know

Visio - Reverse engineering with Visual Studio 2008

If you've ever had to create a sequence diagram from scratch, i.e., created all classes, interfaces, methods, etc, then you'll know it is a time consuming process and will appreciate the ability to reverse engineer existing code.  

Typically when I start a new contract the first thing I do is reverse engineer the code into a Visio document and use it as a template for diagrams I'll create (as I learn their system). Fortunately my last few contracts have had Visio and an MSDN license so I could grab the Visio for Architects application and get setup at  no client expense.

This may not be the case in the future....  I upgraded my current contract's environment to Visual Studio 2008, so that we could take advantage of the new Web, WCF and Smart Client Software Factories and was disappointed to find  that there was no way to reverse engineer the code to diagram our finished projects.  I am not alone in my disappointment (ref: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2488400&SiteID=1).

UPDATED - in the above link I provide a work-around to the problem; convert the solution and project(s) to Visual Studio 2005.

As a result my current client is in the process of purchasing the Altova UModel application - it has a reverse engineering capability for Visual Studio 2008, is reasonably priced and has a professional look and feel. 

As for me... I'm in the process of downloading Visual Studio 2005 from MSDN (my Vista development box only has VS2008) so that I can set up a new (different) development box with XP, VS2005 and Visio for Enterprise Architects.  The only purpose in life for this box will be to reverse engineer VS2005 source code into a Visio document (so I don't have to use my wife's laptop anymore;).  

Fortunately the Unity 1.1 download is a VS2005 project so I'll have no problems reverse engineering it to create diagrams as I learn how it works under the hood.  I'm dreading the work I'll have to do when it comes time to address the CompositeWPF (VS2008) diagrams - I'll manually create the objects before I'll switch....

In case you are like me and don't have the required applications on your development box I'm providing a reverse engineered Unity 1.1 Visio Document for your convenience. 

Unity1.1.vsd (514.50 kb)

 


Tags: , ,
Categories: UML | Unity | Visio | Visual Studio 2008


Actions: E-mail | Permalink |  Grammar/Typo/Better way? Please let me know