Visual studio 05 Class designer - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Visual studio 05 Class designer

Description:

Visual Representation of Types ... etc. Show inheritance from base class types including System.Object Start New Class diagram from scratch add types and ... – PowerPoint PPT presentation

Number of Views:107
Avg rating:3.0/5.0
Slides: 9
Provided by: q357
Category:

less

Transcript and Presenter's Notes

Title: Visual studio 05 Class designer


1
Visual studio 05 Class designer
  • Aka Whitehorse

2
Class designer features
  • Visual Representation of Types
  • Symmetrically Linked to Solution Designer code
    view
  • Changes in diagram immediately reflected in code
    view and vice-versa
  • Toolbox has type shapes -gt drag onto design
    surface also has inheritance connectors, etc.
  • Allows review and refactoring of code visually

3
Features contd
  • Diagrams can be used for documentation -gt can be
    saved in image format -gtcan link embedded image
    in say word document to image link, if diagram
    updated, embedded image will be updated. With
    powertoys can be saved as html
  • Extensible -gt Class diagram is saved as xml
    (context open .cd as xml), you can manipulate it
    as you wish

4
Limitations
  • Does not directly show webform code-behind class
    or winform code view.
  • This may be added in Orcas
  • Main use is for business class design

5
powertoys
  • Class designer Powertoys on GotDotNet (caution,
    GotDotNet going away, replacement not announced
    -( )
  • Adds Pan/Zoom -gtbottom right diag plus cross
  • Export to Html
  • Add comments on class shape -gt highlight type and
    add text in box
  • Adds dongles for inheritance lines
  • Adds smart tag (green arrow box) for editing
    properties in place on diagram

6
references
  • GotDotNet Powertoys http//tinyurl.com/lwqrv
  • Main Msdn Webcast http//tinyurl.com/24eljc
  • Channel 9 Three Part Series
  • Part 1 http//tinyurl.com/2b9pts
  • Part 2 http//tinyurl.com/22tjz2
  • Part 3 http//tinyurl.com/2bxmx5
  • Class Designer Team WebLog/blog and xml format
    for class designer http//tinyurl.com/2fls42

7
Demo
  • Open Existing Solution -gtBeerhouse Add new
    item Class Diagram
  • Drag class library source code from solution
    explorer to Class Diagram Design surface
  • Class Details Pane below
  • Toolbox Can create new types on design by
    dragging onto design surface
  • Context Menu on shapes -gt Look and use
    functionality
  • Add constructor from context menu
  • Refactoring Change namespace change class name
  • Orfan a class by changing its namespace in code
    and look at diagram and fix it from diagram

8
demo
  • Play with tool bar, show full signatures, etc.
  • Show inheritance from base class types including
    System.Object
  • Start New Class diagram from scratch add types
    and inheritance
  • Abstract class with virtual methods
  • Class Details Pane below
Write a Comment
User Comments (0)
About PowerShow.com