44
Software Project Management Assignment ( CASE Tool Study with its manual ) Visual Paradigm Submitted by : Indranil Nandy Department of Computer Sc. & Engg MTech, 2007 Roll no. : 06CS6010

Visual Paradigm - Software Project Management Assignment

Embed Size (px)

Citation preview

Page 1: Visual Paradigm - Software Project Management Assignment

Software Project Management Assignment( CASE Tool Study with its manual )

Visual Paradigm

Submitted by: Indranil Nandy

Department of Computer Sc. & EnggMTech, 2007

Roll no. : 06CS6010

Page 2: Visual Paradigm - Software Project Management Assignment

CASE & its scope:

A CASE tool is a generic term used to denote any form of automated support for software engineering. In a more restrictive sense, a CASE tool can mean any tool used to automate some activity associated with software development. Many CASE tools are now available. Some of these tools assist in phase-related tasks such as specification, structured analysis, design, coding, testing etc., and others are related to non-phase activities such as project management and configuration management. The primary objectives of deploying CASE tool are:

• To increase productivity• To produce better quality software at lower cost

History of CASE Tools:CASE tools began with the simple word processor which was used for

creating and manipulating documentation. The seventies saw the introduction of graphical techniques and structured data flow diagrams. Up until this point, design and specifications in pictorial form had been extremely complex and time consuming to change. The introduction of CASE tools to aid this process allowed diagrams to be easily created and modified, improving the quality of software designs. Data dictionaries, a very useful document that holds the details of each data type and processes within a system, are the direct result of the arrival of data flow design and structural analysis made possible through the improvements of CASE tools. Early graphics packages were soon replaced by specialist's packages which enabled editing, updating and printing multiple versions of a design. Eventually, graphic tools integrated with data dictionary databases to produce powerful design and development tools that could hold complete design cycle documents. As a final step, error checking and test case generators were included to validate software design. All these processes can know be integrated into a single CASE tool that supports all of the development cycle.

Early 80's computer aided documentation

computer aided diagramming

analysis and design tools

Mid 80's automated design analysis and checking

automated system information repositories

Late 80's automated code generation from design specification

linking design automation

Early 90's intelligent methodology driver

habitable user interface

reusability as a development methodology

Page 3: Visual Paradigm - Software Project Management Assignment

CASE tools were at their peak in the early 1990s. At the time IBM had proposed AD/Cycle which was an alliance of software vendors centered around IBM's mainframe. The three giants of the time were Atlanta based KnowledgeWare with their IEW (software engineering) and ADW tools and Texas Instruments with their IEF tool and Nastec Corporation (later merged with Transform Logic Corporation) and their DesignAid and Lifecycle Manager Tool suites. These tools were full lifecycle and included Upper CASE and Lower CASE.

With the decline of the mainframe, AD/Cycle and the Big CASE tools died off, opening the market for the mainstream CASE tools of today. Interestingly, nearly all of the leaders of the CASE market of the early 1990s ended up being purchased by Computer Associates, including IEW, IEF, ADW, Cayenne, and LBMS.

Some typical case tools are:

Code generation tools UML editors and the like Refactoring tools QVT or Model Transformation tools Configuration Management tools including revision control etc.

CASE environment:

Although individual CASE tools are useful, the true power of a tool set can be realized only when these set of tools are integrated into a common framework or environment. If the different CASE tools are not integrated, then the data generated by one tool would have to input to the other tools. This may also involve format conversions as the tools developed by different vendors are likely to use different formats. This results in an additional effort of exporting data from one tool and importing to another. Also, many tools do not allow exporting data and maintain the data in proprietary formats.

CASE tools are characterized by the stage or stages of software development life cycle on which they focus. Since different tools covering different stages share common consistent view of information associated with the software. This central repository is usually a data dictionary containing the definitions of all composite and elementary data items. Through the central repository, all the CASE tools in a CASE environment share common information among themselves. Thus a CASE environment facilitates the automation of the step-by-step methodologies for software development. In contrast to a CASE environment, a programming environment is an integrated collection of tools to support only the coding phase of software development. The tools commonly integrated in a programming environment are a text editor, a compiler, and a debugger. The different tools are integrated to the extent that once the compiler detects an error, the editor automatically goes to the statements in error and the error statements are highlighted. Examples of popular programming

Page 4: Visual Paradigm - Software Project Management Assignment

environments are Turbo C environment, Visual Basic, Visual C++, etc. A schematic representation of a CASE environment is shown in the figure in the next page.

A CASE environment

Benefits of CASE: Several benefits accrue from the use of a CASE environment or even from the use of isolated CASE tools. Some of these are as follows:

• A key benefit arising out of the use of a CASE environment is cost saving through all developmental phases. Different studies carried out to measure the impact of CASE put the effort reduction to between 30% and 40%.

Project Management

Facilities

Coding support

activities

Consistency&

completenessanalysis

Documentgeneration

Structured analysisfacilities

Prototyping

Configuration management

facilities

Structured DiagramFacilities

Transfer Facilities in

differentformats

Query and Report

facilities

CentralRepository

Page 5: Visual Paradigm - Software Project Management Assignment

• Use of CSE tools leads to considerable improvements to quality. This is mainly due to the facts that one can effortlessly iterate through different phases of software development and the chances of human error are considerably reduced.

• CASE tools help produce high quality and consistent documents. Since the important data relating to a software product is maintained in a central repository redundancy in the stored data is reduced and therefore chances of inconsistent documentation are reduced to a great extent.

• CASE tools reduce the drudgery in a software engineer's work. For example, they need not check laboriously the balancing of the DFDs but can do it effortlessly through the press of a button.

• CASE tools have led to revolutionary cost savings in software maintenance efforts. This has been possible not only due to the tremendous value of a CASE environment in traceability and consistency checks, but also due to the systematic information capture during the various phases of software development as a result of adhering to a CASE environment.

• Use of a CASE environment has an impact on the style of working of a company, and makes it conscious of structured and orderly approach.

Among various CASE Tools, the Tool we will be using is Visual Paradigm for UML.

First, we will present the salient features of the tool. Then, we will present the manual or guide, in details, divided in chapters.

Page 6: Visual Paradigm - Software Project Management Assignment

Model-Code-Deploy platformProduct Overview and Features

Visual Paradigm for UML (VP-UML) is a powerful, cross-platform and yet the most easy-to-use visual UML modeling and CASE tool. VP-UML provides software developers the cutting edge development platform to build quality applications faster, better and cheaper! It facilitates excellent interoperability with other CASE tools and most of the leading IDEs which excels one's entire Model-Code-Deploy development process in this one-stop-shopping solution.

Key Features

1. Full UML 2.1 notations 2. Requirements management3. Import/export to XML and image 4. Intuitive visual modeling5. Shape Editor — design your own shapes

Detailed FeaturesUML support1. Class diagram2. Use Case diagram3. Sequence diagram4. Communication diagram5. State Machine diagram6. Activity diagram7. Component diagram8. Deployment diagram9. Package diagram10. Object diagram11. Composite structure diagram12. Timing diagram13. Interaction overview diagram14. Use Case details editor15. Support Use Case flow of event16. Generate Sequence diagram from flow of events17. Business use case support

Page 7: Visual Paradigm - Software Project Management Assignment

Requirements management1. Requirement diagram2. Textual analysis3. CRC card diagram4. Identify candidate activity and action by textual analysis

Business process modeling1. Business process diagram2. Data flow diagram3. Export business process diagram to BPEL4. Identify candidate business process element by textual analysis

Database modeling1. Entity relationship diagram2. ORM diagram3. Reverse existing database into ERD4. Generate database from ERD5. Reverse stored procedure to ERD6. Foreign key auto naming7. Download database driver automatically8. Show database architecture by ORM pane9. Customizable SQL generation10. Generate class diagram from ERD11. Generate ERD from class diagram12. Support Oracle schema in generate/reverse database13. Generate/reverse user-defined database type

Object-relational mapping1. Java ORM code generation2. .NET ORM code generation3. PHP ORM code generation4. Lazy collection fetching5. Database view support6. Support custom ID generator7. Mapping one class to multiple tables8. Custom query support9. Automatic array table generation10. Generate criteria classes11. Generate DAO Code12. Generate Factory Code13. Generate POJO Code14. Optional libraries selection

Visual modeling1. Customizable data type to fit to any programming language2. Overview diagram3. Resource centric interface4. Structure resource centric interface5. Model sharing6. Cut/copy/paste

Page 8: Visual Paradigm - Software Project Management Assignment

7. Copy to other applications as image8. Undo/redo9. Mouse gestures10. Reverse connector direction11. Support grouping12. Jump to shape/model13. Quick connect14. Navigate to connected element15. Model comment16. Duplicate shape/model17. Support selectable/non-selectable shape18. Lock diagram19. Reference to any type of artifact20. Advanced file and directory chooser21. Advanced tree support22. Duplicate, move and reconnect connector23. Package header for all types of diagram24. Visualize tagged value in diagram element25. Sub-diagram and reference indicator26. Visio integration27. Import Visio stencils28. Rectilinear, Round Rectilinear, Oblique, Round Oblique, Curve connector style29. Gesture Pen30. Sweeper31. Create shape with specified initial size32. Drag and drop from tree to diagram to create shape33. Auto fit shapes size34. Inline editing35. Visual alignment guide36. Various grid options37. Show diagram info in diagram

Style and formatting1. Customizable shape style and formating2. Format copier3. Incorporate image in diagram4. Stereotyped element appearance5. Rich text documentation6. Add rich text element to diagram

Team collaboration with VP Teamwork Server1. Concurrent and collaborative modeling with VP Teamwork Server2. Import project to VP Teamwork Server3. Checkout project from VP Teamwork Server4. Commit project to VP Teamwork Server5. Update changes from VP Teamwork Server to local working copy6. Checkout old revision from VP Teamwork Server7. Revision comparison with VP Teamwork Server8. Detect and resolve conflict with VP Teamwork Server

Page 9: Visual Paradigm - Software Project Management Assignment

Team collaboration with CVS Repository1. Concurrent and collaborative modeling with CVS Repository2. Import project to CVS Repository3. Checkout project from CVS Repository4. Commit project to CVS Repository5. Update changes from CVS Repository to local working copy6. Checkout old revision from CVS Repository7. Revision comparison with CVS Repository8. Detect and resolve conflict with CVS Repository

Team collaboration with Subversion Repository1. Concurrent and collaborative modeling with Subversion Repository2. Import project to Subversion Repository3. Checkout project from Subversion Repository4. Commit project to Subversion Repository5. Update changes from Subversion Repository to local working copy6. Checkout old revision from Subversion Repository7. Revision comparison with Subversion Repository8. Detect and resolve conflict with Subversion Repository

Documentation generation1. PDF report generation2. MS Word report generation3. HTML report generation4. Ad Hoc report creation5. Project publisher6. Intelligent element sorting in report generation

Printing1. Print multiple diagrams at the same time2. Preview printable page3. Print clip marks4. Support change page margins, size and orientation5. Fit to pages option6. Fit to ratio7. Customizable page header/footer8. Show project name, diagram name in header/footer9. Support print with frame, border10. Enable/disable gradient color printing11. Support quick print

IDE integrations1. Activate full UML environment from your favorite IDEs2. Automatic code and model synchronization3. Simple installation of IDE integration4. Import existing VP-UML project to IDE integration5. Integration with Eclipse6. Integration with NetBeans7. Integration with IntelliJ IDEA8. Integration with WebLogic Workshop9. Integration with Borland JBuilder

Page 10: Visual Paradigm - Software Project Management Assignment

10. Integration with Oracle JDeveloper

Reverse engineering1. Instant reverse engineering code or executable to class diagram2. Reverse engineering Java source, classes and jar3. Reverse engineering C++ source4. Reverse engineering .NET dll and exe5. Reverse engineering CORBA IDL source6. Reverse engineering Ada 9x source7. Reverse engineering XML8. Reverse engineering XML schema9. Reverse engineering database with JDBC10. Reverse engineering Hibernate mapping file11. Reverse engineering PHP 5.0 source12. On-demand Java reverse engineering

Code generation1. Instant generate code from diagram2. Generate Java3. Generate C#4. Generate VB.NET5. Generate PHP 5.06. Generate Object Definition Language7. Generate Flash ActionScript8. Generate IDL9. Generate C++10. Generate Delphi11. Generate Perl12. Generate XSD13. Generate Python14. Generate Objective-C

State machine diagram code generation1. Generate Java code from state diagram2. Generate C++ code from state diagram3. Generate C# code from state diagram4. Generate VB.NET code from state diagram

Java round-trip engineering1. Reverse Java source code to class diagram2. Update Java source code based on the class diagram

Shape editor1. Design your own shape2. Import SVG shape3. Incorporate different shapes into UML diagram4. Organize shapes by gallery, category and stencil5. Advanced shape design capabilities

Page 11: Visual Paradigm - Software Project Management Assignment

Layout facilities1. Automatic diagram layout2. Aligning and centering shapes3. Make all selected shapes same width/height4. Automatic distribution shapes

Interoperability1. Export/import EMF based UML2 model2. Import/export XMI 1.0, 1.2 and 2.13. Import/export XML4. Import/export VP project file format5. Import/export Use Case model to MS Word6. Import Rational Rose project file7. Import ERwin data modeler project file8. Generate BPEL for Oracle workflow engine9. Generate BPEL for JBoss workflow engine10. Export diagram to JPG, PNG, SVG and EMF image format11. Slice exported diagrams

Intuitive user interface1. Group diagram by category2. Advanced property pane3. Dockable window user interface4. New project with predefined template5. Easy to use "New Diagram" dialog6. Flexible zooming7. Pallet style toolbar8. Collapsible toolbar9. Show name in toolbar button10. Expand grouped toolbar buttons11. Show various diagram categories in toolbar12. Support various look and feels13. Import user preference from existing workspace

Automatic updates1. Automatic on-line updates2. Maintain local update server - Update synchronizer

Open architecture1. Plug-in Support (Java)2. Interact VP model with XML

Page 12: Visual Paradigm - Software Project Management Assignment

VP-UML User's GuideThe user's guide will be divided in the following chapters:

• Introduction Chapter 1: Getting started with VP for UML

• Working with VP for UML Chapter 2: Working with Projects Chapter 3: Working with Diagrams Chapter 4: Generating Documentation Chapter 5: Interoperability Chapter 6: Automatic Diagram Layouts

Appendix : Keyboard Shortcuts

Page 13: Visual Paradigm - Software Project Management Assignment

Chapter 1 - Getting Started with Visual Paradigm for UMLWelcome to Visual Paradigm for UML (VP-UML), a powerful visual UML CASE tool. The tool is designed for a wide range of users, including Software Engineers, System Analysts, Business Analysts, System Architects alike, who are interested in building software systems reliably through the use of the Object-Oriented approach.The VP-UML environment provides an intuitive means to carry out Object-Oriented system analysis and design, where one can create UML diagrams through simple drag and drop operations. It is a collection of menus, toolbars and windows that make up the development workspace, which allows one to create different types of diagrams in a totally visual environment.

Launching VP-UMLSpecifying a WorkspaceWhen VP-UML is starting, the Workspace Launcher is displayed.

Figure 1.1 - Select workspaceA workspace of VP-UML is a repository of UML project (s) and configuration detail. In terms of physical storage, a workspace is a directory in file system where the UML project file and configuration files are located.By default, the workspace is selected as %HOME_DIRECTORY%\.vpworkspace. To specify another directory as the workspace, you can enter its path in the text field directly, or you can click on the ... button to browse for a suitable directory.To apply the specified path as the default workspace and restrict the dialog to appear again, check the option Use this as the default and do not ask againOnce everything is ready, click OK to confirm the path for workspace and continue starting VP-UML.

Importing a WorkspaceIn case you have an existing workspace, you can import it so that all its default settings, user interface perspectives and other preferences can be preserved, all the projects in the existing workspace will also be copied to the workspace. To import a workspace, click Import Workspace...in the Workspace Launcher, and then specify the path of the workspace used for import.

Figure 1.2 - Import workspace

Page 14: Visual Paradigm - Software Project Management Assignment

If the specified workspace already exists, you will be prompted by the Confirm Workspace Overwrite dialog box asking you to confirm overwriting the existing workspace. If you press Yes, all the setting of the specified workspace will be overwritten by the workspace to be imported.

Figure 1.3 - Confirm workspace overwrite

Dockable EnvironmentVP-UML adapts dockable environment which allows you to drag UI components around to customize your favorite working environment. You can save the environment as a perspective which you can reopen later. It allows you to use different perspectives for different purposes.

Using the Dockable EnvironmentThe Dockable Environment is composed of a number of windows, called dockable frames. A dockable frame may be standalone (floating) or docked into another container (split pane/tab pane).You can click on the title bar of a dockable frame to drag it to anywhere you like.

Figure 1.4 - Dragging a dockable frameYou will notice a gray outline appears while you are dragging a frame. This outline tells you where the dockable frame will be docked to.

Open Specification Dialog BoxThe open specification dialog box is a top-level window which enables you to browse for and edit the detail of model elements or diagrams. It can be invoked by right-clicking on either a model or a diagram and select Open Specification...from popup menu.

Page 15: Visual Paradigm - Software Project Management Assignment

Figure 1.5 - Open Actor Specification Figure 1.6 - Open Diagram Specification

Figure 1.7 - Actor Specification

The open specification dialog box contains several pages which show different aspects of the selected item. Basically, general information such as name, stereotype, documentation, files are included in most of the model elements. For some of the model elements, relationship between other diagram elements (children, relations) and information that is specific to the diagram elements (attributes/operations in Class, sub-diagrams of Package) will be displayed, too.

Page 16: Visual Paradigm - Software Project Management Assignment

Chapter 2 - Working with ProjectsA VP-UML project is a virtual container that stores all the diagrams and models related details. A VP-UML project file, with extension .vpp, is a physical entity of project. This chapter offers basis in working with VP-UML project, say creating, exporting and merging a project.In this chapter:• Creating, Opening and Saving Projects• Exporting and Importing Projects• Working with Project Templates• Managing Project Properties

Creating a New ProjectTo create a new project, select from main menu File > New Project or press Ctrl-N. This displays the New Project dialog box. Specify all the relevant information and click Create Blank Project.

Figure 2.1 - New Project Dialog

Opening a ProjectTo open an existing project, select File > Open Project...from the main menu or press Ctrl-O. This displays the Open dialog box. In the dialog, locate the VP-UML project file (with extension. vpp) and click Open to open the project file.VP-UML also provides access to the most recently opened projects. You can click to open project from the recent project list on the start page. An alternative is to open the project file by choosing File > Reopen > %FILE_PATH% from the main menu. The maximum size of the list on start page is 5, while the list from File menu is 10.

Saving a ProjectOnce the project is modified, you can save it to commit the changes to the project file. To save a project, select File > Save Project from main menu. If the project has not been saved yet, this displays the Save dialog box so you can specify a location for the file and click Save to save the file. If the project has been saved before, it will commit the project data to the file.NoteAlternatively, you can press Ctrl-S, or click the Save Project button on the toolbar, or select from main menu File > Save Project as...to save a project. Notice that selecting the File > Save Project as...from main menu is for saving the project to another location.

Page 17: Visual Paradigm - Software Project Management Assignment

Exporting and Importing (Merging) of ProjectExporting ProjectTo export the current project into a new project, choose File > Export > VP-UML Project...from main menu. This displays the Export Project dialog box. Specify all the relevant information and click Export.

Importing (Merging) a VP-UML ProjectTo import a project, opening the master project in VP-UML (the project where the exported projects are derived from). After that, select File > Import > VP-UML Project...from main menu. This displays the Open dialog box. In the dialog, locate the VP-UML project file (with extension .vpp) and click Open to open the project file. The changes in the selected project will be merged to the master project.

Project TemplateA project template is a pre-defined project structure that can be used over again on new projects. It defines the diagram type as well as their name of a project. For example, if you have created two class diagrams in a project, Domain Model and MyClassDiagram, and you think this project structure will be used over again in your development you can save this project as a project template for future use.

Saving Project as TemplateTo save the current project as a template, select File > Save as Project Template...from main menu. This displays the Save Template dialog box.

Maintaining Project TemplateTo maintain existing templates, choose File > Maintain Project Template...from main menu. This displays the Maintain Templates dialog box.By selecting a template from the Templates list, its preview will be shown on the Template Preview tree. To rename a template, select and right-click on the target template from the Templates list, select Rename...from popup menu, enter a new name and then click OK to commit.To edit the template description, select the target template from the Templates list and edit the description in the Template Description text field.To remove a template, select and right-click on the target template from the Template list and select Delete Project Template from popup menu.

Managing Project PropertiesTo query/modify the project properties, choose File > Project Properties...from main menu. This displays the Project Properties dialog box which consists of three pages: General and PDF Report.

Figure 2.2 - Managing Project Properties

Page 18: Visual Paradigm - Software Project Management Assignment

Chapter 3 - Working with DiagramsThis chapter shows how to perform visual modeling in VP-UML such as drawing diagram elements (shapes and connectors), customizing connectors, editing the diagrams and exporting diagram as image.In this chapter:• Creating diagram elements• Editing diagram and diagram elements• Using diagram layout• Using the compartment settings for classes

Creating Diagram ElementsAfter creating a new diagram, one can create diagram elements using the diagram toolbar. In this section, we will introduce the techniques of how to create diagram elements and connectors:• Creating Shapes• Creating Connectors• Creating Self-Connection

Creating ShapesTo create a shape, click on a diagram element button from the diagram toolbar and click on the diagram pane to create it.

Figure 3.1 - Create Shapes

Creating ConnectorsTo create a connector, select the desired connector from the diagram toolbar and click on the source shape. Drag the connector to the destination shape.VP-UML provides continuous UML syntax checking. A stop sign is signaled when one tries to create an invalid connection.For example, you cannot create a generalization relationship between an actor and a use case.

Figure 3.2 - Try to create an invalid connectionIf the connection is valid you will see a blue rounded rectangle surrounding the destination shape.

Figure 3.3 - Try to create a valid connection

Creating Self-ConnectionSome of the shapes can have a connection to itself. For example, Self-Association of a Class or Self-Link of an Object in Communication Diagram. To create a self-connection click on the connector button on the diagram toolbar and click once on the target object.

Page 19: Visual Paradigm - Software Project Management Assignment

Figure 3.3 - Create self-connection

Resource-Centric InterfaceA user interface based on the Resource-Centric approach is adopted in VP-UML to enable UML diagrams to be constructed intuitively with minimal efforts. With the novel interface, only valid editing resources are grouped around a graphical entity, totally eliminating invalid operations during diagram construction.The resources of a diagram element are visible only when it is being selected. Each available resource is displayed as an icon surrounding the element. One can also move the mouse over a resource to see the tool tip associated with it.

Figure 3.4 - Resource-Centric

Using the Resource-Centric InterfaceA resource is usually used to create a shape from another shape, and connect them with a connector. For example, if one drags the resource "Association -> Use Case" from an Actor element to the white space of the diagram, a new Use Case will be created, and it connects the Actor with an Association.

Figure 3.5 - Create shape by using resource-centric

Connector StylesConnectors are the lines that connect two shapes. When more shapes are created and more connectors appear, one may find that it is annoying to handle the spaghetti like connectors. To overcome this problem, VP-UML provides six connector styles to help you handle the connectors, namely Follow Diagram, Rectilinear, Oblique, Curve, Round Oblique and Round Rectilinear.

Follow Diagram Connector StyleFollow Diagram is a "virtual" connector style in which the actual style will be determined by the owner diagram. When you right-clicks on a diagram you can set its default connector style from its popup menu, once the diagram connector style is changed, all connectors whose connector style is set to Follow Diagram will be updated to follow the new style.

Rectilinear Connector StyleOnce the connector is set to Rectilinear, the connector always remains either horizontal or vertical. You cannot create a breakpoint on the connector by yourself. The breakpoints are generated on the connector automatically after you reshape the line.In the following figure, there is a pin icon at each end of the connector. Pinning a connection end point allows the pinned end point of a connector to be fixed, no matter how the connecting shapes are moved.

Figure 3.6 - Rectilinear Connector Style

Page 20: Visual Paradigm - Software Project Management Assignment

Dragging on LinesThere is a horizontal line and vertical line along the connector. If you are dragging on the horizontal lines, the lines can only move up and down. In the following figures, the line we want to move is in red. As you can see, the right end point of the red line is touching Class2. After moving the red line upwards, the right end point of the red line does not touch Class2. To rectify this, a vertical line is automatically created to continue the connection between Class and Class2.

Figure 3.7 - Drag on the lineThe result of dragging vertical line is similar to dragging horizontal line. The difference is that the line is restricted to vertical movement (either from left to right or from right to left). When two shapes are disconnected, a horizontal line will be created at the end of point to continue the connection between shapes.

Connection PointEach shape has a property called Connection Point that specifies how the connecting points of the connectors should move if the shape is being moved.

Setting Connection Point StyleTo set the connection point style:Using the popup menu1. Select one or more shapes and right-click on the selection.2. Select the Format > Connection Point...from popup menu. This displays the Select Connection Point Style dialog box.

Figure 3.8 - Select Connection Point Style Dialog3. Select either Round the shape or Follow center for the connection point style. Upon selecting a style an animation will appear to emulate the effect of the selected connection point style.4. Click OK to confirm the change.Using the property table1. Select a shape.2. Select either Round the shape or Follow center from the Value field of the Connection point property.

Page 21: Visual Paradigm - Software Project Management Assignment

Figure 3.9 - Properties Table

Pinning the Connection End PointPinning a connection end point allows the pinned end point of a connector to be fixed, no matter how the connecting shapes are moved. In figure below, the connection end point linking the class Bank is pinned to the location of the getAccount operation.

Figure 3.10 - Pin a connector pointIn VP-UML a connecting end point is unpinned by default. If a connecting end point is unpinned, its location will be determined by the connection point style of the connecting shape.To pin a connection and an end point:Using Resource-Centric Interface1. Click once on the connector to select it.2. There is a "pin" resource for each connection end point. If the end point is currently pinned an icon will be displayed (a pin with shorter needle). If the end point is currently unpinned, an "unpinned" icon will be displayed (a pin with longer needle). In the figure below, the end point connecting the class Bank is pinned, while the end point connecting the class BankConsortium is unpinned.3. Click once on the resource to toggle its pin state.

Figure 3.11 - Toggle the pin stateUsing the popup menu1. Right-click on the connector.2. Select the Pin menu from the popup menu, the Pin sub-menu appears.3. Select either From Point or To Point to pin/unpin the desired connection end point.

Page 22: Visual Paradigm - Software Project Management Assignment

Basic Editing FeaturesIn this section we will talk about the basic editing features in VP-UML, including:• Undo• Redo• Copy• Paste• Delete

UndoYou can roll back undesirable changes by performing Undo. To undo an action, perform one of the following actions:• Select Edit > Undo from main menu.• Click on the Undo button on toolbar.• Press Ctrl-Z.

RedoThis feature is to re-perform actions that were just undone. To redo an action, perform one of the following actions:• Select Edit > Redo from main menu.• Click on the Redo button on toolbar.• Press Ctrl-Y.

CopyYou can select and copy diagram element(s) and reuse it later on. There are five kinds of copy available in VP-UML.• Default Copy• Copying within VP-UML• Copying to Clipboard as OLE• Copying to Clipboard as Image (JPG)• Copying to Clipboard as Image (EMF)

Default CopyThe default copy is triggered when the hotkey Ctrl + C is pressed. The actual action performed by default copy follows the VPUML application option (as configured in the Options dialog box -> Diagramming category -> Environment page). The default copy action can be set to one of the following:• Copying within VP-UML• Copying to Clipboard as OLE• Copying to Clipboard as Image (JPG)• Copying to Clipboard as Image (EMF)The default "default copy" action is Copying within VP-UML

Pasting as Image ShapeWith image shape, one can easily annotate and document his diagrams with related images. Instead of creating an image shape manually,one can copy an image from any application to the clipboard and then paste it to the diagram as a new shape.

Page 23: Visual Paradigm - Software Project Management Assignment

Figure 3.12 - Paste as Image ShapeTo paste an image shape, perform one of the following actions:• Select Edit > Paste from main menu.• Click on the Paste drop down button on the toolbar and select Paste from the drop down menu.• Right-click on the target diagram and choose Paste from popup menu.• Press Ctrl-V

DeleteThis feature is to remove the selected diagram elements. To delete diagram element, select the diagram elements for to be removed and perform one of the following actions:• Select Edit > Delete from main menu.• Right-click on the selection and choose Delete from popup menu.• Press Delete.

Finding a Model ElementModel elements can be searched for in the project. To find a model element, you should first display the Find dialog box. To display the Find dialog box, select Edit > Find from main menu.

AlignmentThis feature provides a facility to align selected diagram elements.To align shapes, perform one of the following actions:• From the main menu, choose Edit > Align Shapes and select one of the alignment methods. You may also select the menu item Align Shapes...to align selected diagram elements by using a dialog box. This will be described later in the section.• Right-click on the selection and choose Alignment from popup menu and select one of the alignment methods in the popup menu. You may also select the menu item Align Shapes...to align selected diagram elements by using a dialog box. This will be described later in the section.• Click on the drop down arrow beside the Alignment button on toolbar and select one of the alignment methods from the popup menu. You may also select the menu item Align Shapes...to align selected diagram elements using a dialog box.

Referenced Shape for AlignmentWhen there are multiple shapes selected the last selected shape will be used as the referenced shape for alignment. That is, the alignment method, will be performed based on the position/size of the referenced shape. The referenced shape will be rendered with its resize handles surrounded by black rectangles.

Page 24: Visual Paradigm - Software Project Management Assignment

Figure 3.13

Form Diagram from ModelYou can form a diagram with the selected models (classes/packages) in the Model Pane and Class Repository Pane.1. Open/Activate the Model Pane or Class Repository Pane.2. Select the classes and packages you would like them to appear in the new Class Diagram.3. Right-click on the selection and select Form Diagram from popup menu.4. Choose from one of the Form Diagram types (Customize..., Hierarchical, or Navigation) in the cascading menu.

Figure 3.14 - Form diagram from model

Presentation OptionsClick the Presentation Options tab on the Form Diagram dialog box to set the presentation options for the classes in the new diagram (fig 3.15)

Hierarchical DiagramIf you selected Hierarchical in the cascading menu, a new diagram is created with the diagram elements of the selected models, the parents and children of the diagram elements and the generalization relationships between the diagram elements (fig. 3.16).

Page 25: Visual Paradigm - Software Project Management Assignment

Figure 3.15 - The presentation options

Figure 3.16 - Hierarchical Diagram

In the following case, the class model called "Clerk" is selected. The new diagram (on the right hand side) shows the generalization relationships between the "Clerk" model and other related models (fig. 3.17).

Compartment Visibility ControlVP-UML provides a visibility control in class diagram. It allows you to hide or show the attribute or operation using the resource-centric of a class (fig. 3.18).To show the attributes compartment or operations compartment click the "+" sign button in resource-centric. To hide the attributes or operation click the "-"sign button in resource-centric.

Page 26: Visual Paradigm - Software Project Management Assignment

Figure 3.17 - Show the inheritance hierarchical in the new diagram

Figure 3.18 - Compartment Visibility Control

Sub-DiagramsMost diagram elements in VP-UML allow sub-diagrams to be defined to facilitate the traceability across diagrams.

Creating a Sub-DiagramTo create a new sub-diagram for a diagram element, perform one of the following actions:• Right-click on the diagram element and choose Sub Diagrams from the popup menu to expand it. A list of recommended sub-diagram types (according to the nature of the model) is shown. If the type of diagram you want to add is not one of the recommended types, select Other Diagrams to expand it. From the Sub Diagrams or Other Diagrams menu, select %SUB_DIAGRAM_TYPE% > Create %SUB_DIAGRAM_TYPE% (e.g. Sub Diagrams > Use Case Diagram > Create Use Case Diagram).• Right-click on the diagram element and choose Open Specification from popup menu. This displays the Open Specification dialog box. From the dialog box, switch to Diagram tab, click Add. A list of recommended sub diagram types (according to the nature of the model) is shown. If the type of diagram you want to add is not one of the recommended types, select Other Diagrams to expand it. From the root menu or Other Diagrams menu, select the desired type of sub-diagram to create.

Selecting Existing Diagrams as Sub-DiagramsTo select existing diagrams as sub-diagram:• Right-click on the diagram element for adding sub-diagrams and chooses Sub Diagrams > Add Existing Diagram...from popup menu.• Right-click on the model element for adding sub-diagrams and chooses Open Specification...from popup menu. This displays the Open Specification dialog box for that model element. Switch to the Diagrams tab, press Add and select Existing Diagram...from popup menu.

Page 27: Visual Paradigm - Software Project Management Assignment

Figure 3.19 - Add existing diagram to Sub-DiagramIn both cases, the Add Sub Diagrams Dialog will be displayed. The Add Sub Diagrams Dialog shows all the selectable diagrams. Selectable diagrams are all diagrams in the project excluding the following:• The parent diagram of the selected diagram element• The existing sub-diagram of the selected diagram elementSelect the diagrams to add as sub-diagrams

Viewing the List of Sub-DiagramsTo open sub-diagram from its parent diagram element:• Right-click on the diagram element and choose Open Specification from popup menu. This displays the Open Specification dialog box. From the dialog box, switch to Diagram tab. Sub-diagrams of that diagram element are shown in the table.

Opening Sub-DiagramsTo open sub-diagram from a parent diagram element, perform one of the following actions:• Right-click on the diagram element and choose Sub Diagrams > %SUB_DIAGRAM_TYPE% >%SUB_DIAGRAM_NAME% from popup menu.• Right-click on the diagram element and choose Open Specification from popup menu. This displays the Open Specification dialog box. From the dialog box, switch to Diagram tab, click Add and select the subject-diagram type for creating a sub-diagram.• Select the sub-diagram from resource icon of that diagram element:

Figure 3.20 - Open Sub-diagram

Page 28: Visual Paradigm - Software Project Management Assignment

Removing Sub-DiagramsTo remove a sub-diagram from its parent diagram element, perform one of the following actions:• Right-click on the diagram element and choose Open Specification from popup menu. This displays the Open Specification dialog box. From the dialog box, switch to Diagram tab. Sub-diagrams of that diagram element are shown in the table. Select the sub-diagram that you want to remove and click Remove to remove it.• Activate the Diagram Navigator, expand the tree node of that diagram element, select the sub-diagrams that you want to remove and then right-click of them and select Detach from Parent from popup menu.

Figure 3.21 - Remove Sub-Diagram

Logical ViewThe Logical View refers to a user's view of the way project is organized. It provides another view of creating, structuring and sharing the UML diagrams and models apart from the traditional Diagram Navigator, Model Tree View and Class Repository.

Figure 3.22 - Logic View Pane

Creating a Logical ViewTo create a view:1. Right-click on the project node, top-most node, of the Logical View pane and choose Add View from popup menu. This creates a new View under the project node.2. Right-click on the new view and choose Rename...from the popup menu to provide a name for the view.3. Enter the name in the displayed input box and click OK to confirm the changes.

Page 29: Visual Paradigm - Software Project Management Assignment

Creating Diagram(s) under ViewTo create diagram under a view, right-click on the view that hold the new diagram and choose Create Diagram > Create %DIAGRAM_TYPE% from popup menu. This creates a blank diagram of the selected type under the chosen view.

Moving Diagram(s) between ViewsTo move diagram from one view to another, simply drag on it and drop it to the target view. The diagram will therefore transfer from original view to target view.

Exporting and Importing ViewYou can export the current Logical View structure as an XML file and apply it over and again on other projects. There are two options for importing a Logical View structure.Append to existing structureThe imported structure will append to the current structure, no modification will be made on the existing one.Replace existing structureThe imported structure will replace the current structure therefore predefined structure will be removed. For any diagram in the current project that have the same name as any of the diagram name in the XML file, the diagram name will display in the Logical View of the current project. Otherwise the name will not be shown in the imported structure.

ModelerModeler is a generic diagramming environment providing plenty of shapes apart from ordinary UML notations. You can create UML diagrams with the shapes from the stencils in VP-UML.Although the original UML notations are rich, but still may not expressive enough to present your idea. Stencils in VP-UML provide a large variety of shapes apart from the ordinary shapes, and can be used in the UML diagram.

StencilA stencil is a collection of shapes associated with a particular drawing type. Stencils are stored under Stencil Pane which displays all the available stencils in tabbed pages.

Figure 3.23 - StencilStencil in VP-UML allow displaying shapes imported from Microsoft Visio, and you can use those shapes repeatedly in any UML diagrams by dragging a shape from stencil from drawing pane.

Importing a StencilTo add shapes sent from Visio to VP-UML:1. Activate the Stencil Pane.2. Click the rightward directed arrow button on the Stencil Pane. This display the Import Stencil Dialog. Select the stencil for importing, enter a name for the stencil, assign a diagram type for holding the stencil and click OK.

Page 30: Visual Paradigm - Software Project Management Assignment

3. The stencil pane displays the imported stencil with all the available shapes associated with that stencil.

Opening a StencilTo open a stencil, click the open button on the Stencil Pane, and then select a desired one from the drop-down menu.

Creating Shape from StencilYou can move a shape from the stencil onto your UML drawing by drag-n-drop. To drag-and-drop to create shape:1. Move the cursor to a desired shape in the stencil.2. Press on it.3. Drag it out of the stencil pane.4. Drop it onto the diagram pane.

Closing a StencilTo close an opened stencil, right-click on the title bar of the stencil you want to close and choose Close from popup menu.

Exporting the Active Diagram as an ImageThis feature is to export the active diagram as image file. To export the active diagram as image file, perform one of the following actions:• Select File > Export > Active Diagram as Image...from main menu.• Click on the Export Active Diagram as Image button on the toolbar.In both cases, a file chooser dialog box will appear where one can specify

Exporting Diagrams as ImagesThis feature is to export one or more diagrams as images. To export the active diagram as image file, perform one of thefollowing actions:• Select File > Export > Diagrams as Image...from main menu.• Click on the Export Diagram as Image button on the toolbar.In both cases, the Diagram Exporter dialog box will be displayed.Slice diagramsUser can slice a large diagram into pieces(number of files), as well as to restrict the size of the exported diagram.

Figure 3.24 - Slice diagrams

Page 31: Visual Paradigm - Software Project Management Assignment

Chapter 4 - Generating DocumentationVP-UML provides several report generation facilities for documenting the project. Report Writer streamlines one's work by keeping the project and document in sync. HTML/PDF report generation facility outputs project as web pages and PDF document portable to different platform and environment. Word report generation outputs report in MS Word format. Sophisticated printing facility enable printing UML diagrams as hard copy which increase the ease of reading and understanding. Project Publisher exports the project into interactive web pages that can be read in any web browsers with no additional plug-in required.In this chapter:• Ad-hoc Report Generation• PDF Report Generation• HTML Report Generation• Word Report Generation• Printing facility• Project Publisher

Report WriterThe Report Writer is a sophisticated tool for report creation. Users can output the existing project as reports by documenting their project within VP-UML. VP-UML offers seamless integration of UML modeling tool with word processor to provide a unified documenting environment. By dragging the models from VP-UML to Report Writer, data is extracted from models and content is created in Report Writer.Retaining the conformance between documentation and design is a tedious task. Report Writer maintains the consistency between them. If you create a new model, the content will be appended to the existing one. If you remove a model, the generated element will be removed. If you re-edit the models, the content will be refreshed.Users can also apply their own style for the generated element, which make the Report Writer more flexible.

Launching Report WriterTo launch Report Writer, perform one of the following actions:• Select Tools > Report > Report Writer...from main menu.• Click on the Report Writer button on the toolbar.

Installing Report EngineIf it is the first time you start the Report Writer, the Report Engine Installation dialog box will be displayed asking for the installation of Report Engine.

Figure 4.1 - Report Engine Installation Dialog

To install Report Engine, perform one of the following actions:• Choose from the Report Engine Installation dialog box the option Download from Internet and click OK. This downloads the Report Engine from the Internet and automatically proceeds with Report Engine installation once the download has been completed.

Page 32: Visual Paradigm - Software Project Management Assignment

• Choose from the Report Engine Installation dialog box the option Select in local file system, locate the report engine and then click OK to start the Report Engine installation. The Report Engine can be obtained by clicking Download with browser. You can enter the path directly on the text field or click ... to locate the file from file chooser.Entering Report InformationIf this is the first time to launch Report Writer, the Template dialog box will be displayed and ask for the information of the new report. Enter the report information and select a desired report theme for the report, preview of the selected theme is shown on the preview pane. Click OK to start Report Writer when everything is ready.

PanesWhen Report Writer is launched one is taken to the Report Writer environment where he can create and edit his reports. Three distinct panes are presented on the screen: the Project Explorer, Template Pane and the Writer Pane.

Figure 4.2 - Report Writer

Diagram NavigatorThe Diagram Navigator displays all diagrams within the project in a form of a project tree and organizes them by their diagram type. Through the use of a folding tree structure you can browse the names of these diagrams by either expanding or collapsing the folders and perform sorting by diagram type and name.

Figure 4.3 - Diagram Navigator

Page 33: Visual Paradigm - Software Project Management Assignment

Model TreeThe Model Pane displays models within the project in a form of a project tree. Notice that not all the diagram elements are displayed. In fact, only the elements that are available for generating report content are shown.Template PaneThe Template Pane display all the templates available for the model or diagram selected in Property Pane

Figure 4.4 - Property PaneEach template represents the corresponding report content of a particular model or diagram. By dragging a template onto Writer Pane, report content will be printed on the report. There are three types of template: Text, Image and Table. Each of them has its own appearance in the report content.Writer PaneWriter Pane embeds a word processor to provide a report editing environment.

Figure 4.5 - Writer Pane

Applying Style to ReportA style in Report Writer is a collection of formatting attributes that describe the nature of paragraphs. The generated element highly adopts the predefined styles in Report Writer therefore users can customize the related styles to bring consistency to the whole document. There are two ways for applying style to report.Style configurationThe Stylist dialog box allows you to configure the pre-defined styles. To display the Stylist dialog box:• Select Tool > Show Stylist from main menu.• Click the Click to Show Stylist button on the toolbar.To edit the style, right-click on the highlighted style and choose Modify...from popup menu. This displays the dialog box for the selected style. You can now adjust it with your own preference. When everything is ready, please click OK to commit the settings and exit the dialog.

Page 34: Visual Paradigm - Software Project Management Assignment

Exporting a reportYou can export report as file and edit it outside VP-UML. Supported format includes Microsoft Word 97/2000/XP document (with extension .doc) and OpenOffice.org 1.0 Text Document (with extension .sxw).Exporting current report1. Click on the Export Report...button on the toolbar or select Report > Export Report...from main menu. This display the Save dialog box.2. In the Save dialog box, enter the file name and select OpenOffice.org 1.0 Text Document ).sxw( format or Microsoft Word 97/2000/XP ).doc( format for exporting.3. When everything is ready, click Save to export the report.Exporting all report(s)1. Click the Export All Reports...button on the toolbar or select Report > Export All Reports...from main menu. This display the Save dialog box.2. In the Save dialog box, enter the directory for storing the reports in the File name field and select either OpenOffice.org 1.0 Documents or Microsoft Word Documents for the Document Type.3. When everything is ready, click Save to export the report(s).

Importing a ReportYou can import a document back into Report Writer for data updating. To import a report:1. Click the Import Report...button on the toolbar or select Report > Import Report...from main menu. This displays the Open dialog box.2. In the Open dialog box, select either OpenOffice.org 1.0 Text Document ).sxw( format or Microsoft Word 97/2000XP ).doc( format for importing. Select a file and click Open to import the selected document into Report Writer.3. If the document is exported from Report Writer previously, a dialog will appear and ask for overwriting the existing one or not.If you click Yes, the existing report will be replaced by the imported one. If you click No, the imported report will be stored into Report.

Updating a ReportIn reality, software design keeps on changing from time to time. Originally, users need to modify the related documents manually to ensure that it is fully conform to the latest design. Report Writer binds closely with the VP-UML project, hence generated element can then be updated without affecting the user-defined content.To update a report, choose the desired report for updating from the drop-down menu and click the Update from Model button from the toolbar or select Report > Update from Model from main menu. Update process will start automatically. Data will be extracted from project and replace with the content within the existing generated element.

PDF Report GenerationThe Generate PDF Dialog BoxThe Generate PDF dialog box provides a set of options for changing the report style. To display the dialog box, perform one of the following actions:• Select Tools > Report > Generate PDF Report...from main menu.• Click on the Generate PDF Report button on the toolbar.In both cases, the Generate PDF dialog box will be displayed.

Generating a PDF ReportTo generate a PDF Report:1. Open the Generate PDF dialog box.2. Enter the destination location of the generated document in the File location field.3. Select the report options, such as Generate diagrams, Generate reference )file/URL( link, etc...if necessary.4. Select the details field such as Children, Members.5. Define the page settings for the report.6. Define advanced report information such as Header/Footer and Document Info if necessary.7. Select the diagrams to generate in the report.8. Click Generate to start generating the report.

Page 35: Visual Paradigm - Software Project Management Assignment

HTML Report Generation

Figure 4.6 - HTML Report

The Generate HTML Dialog BoxThe Generate HTML dialog box provides a set of options for changing the report style. To display the dialog box, perform one of the following actions:• Select Tools > Report > Generate HTML Report...from main menu.• Click on the Generate HTML Report button on the toolbar.In both cases, the Generate HTML dialog box will be displayed.

Generating an HTML ReportTo generate an HTML Report:1. Open the Generate HTML dialog box.2. Specify the destination location of the report in the File location field.3. Configure the report properties, such as Generate diagrams, Generate reference )file/URL( link, etc...if necessary.4. Select the template of the report that will be generated.5. Select the diagram's image quality if Generate diagrams is selected.6. Define advanced report information such as Front Page and Document Info if necessary.7. Select the diagram to generate in the report.8. Click Generate to start generating the report.

Command Line HTML Report GenerationVP-UML has a command-line interface to let you to generate HTML reports for your projects. To run the command line to generate HTML report, type the following:cd <VP­Suite installation directory>/bin../jre/bin/java ­Xms128m ­Xmx512m ­cp

Page 36: Visual Paradigm - Software Project Management Assignment

".;../lib/vpplatform.jar;../lib/jniwrap.jar;../lib/winpack.jar" RV ­noui ­project <path to your VP­UML project> ­todir <path to destination> generatehtmlUsing script fileVP-UML has provided the batch file and shell script for you to generate the report in command line.

For Microsoft® Windows users:cd <VP­Suite installation directory>HTMLDocGenerator.bat <path to your VP­UML project> <path to destination>

For Linux users:cd <VP­Suite installation directory>./HTMLDocGenerator.sh <path to your VP­UML project> <path to destination>

Command Line PDF Report GenerationVP-UML has a command-line interface to let you to generate PDF reports for your projects. To run the command line to generate PDF report, type the following:cd <VP­Suite installation directory>/bin..\jre\bin\java ­Xms128m ­Xmx512m ­cp".;..\lib\vpplatform.jar;..\lib\jniwrap.jar;..\lib\winpack.jar" RV ­noui ­project <path to your VP­UML project> ­todir <path to destination> generatepdf

Using script fileVP-UML has provided the batch file and shell script for you to generate the report in command line.

For Microsoft® Windows users:cd <VP­Suite installation directory>\binPDFDocGenerator.bat <path to your VP­UML project> <path to destination>

For Linux users:cd <VP­Suite installation directory>/bin./ PDFDocGenerator.sh <path to your VP­UML project> <path to destination>

Word Report GenerationThe Generate Word Dialog BoxThe Generate Word dialog box provides a set of options for changing the report style. To display the dialog box, perform one of the following actions:• Select Tools > Report > Generate Word Report...from main menu.• Click on the Generate Word Report button on the toolbar.In both cases, the Generate Word dialog box will be displayed.

Generating a Word ReportTo generate a Word Report:1. Open the Generate Word dialog box.2. Enter the destination location of the generated document in the File location field.3. Select the report options, such as Generate diagrams, Generate reference )file/URL( link, etc...if necessary.4. Select the details field such as Children, Members.5. Define the page settings for the report.6. Define advanced report information such as Header/Footer and Document Info if necessary.7. Select the diagrams to generate in the report.8. Click Generate to start generating the report.

Using the Published ProjectGo to the output directory of the published project and open the file index.html with a web browser. The web page is organized in frames, namely the Navigator Pane, Menu Pane and Content Pane.

Page 37: Visual Paradigm - Software Project Management Assignment

Figure 4.7 - Published projectNavigator PaneIt comprises of the Diagram Navigator, Model Navigator and Class Navigator.• Diagram Navigator shows the categories of diagrams in the project. You can click on a category to view its diagrams in the Menu Pane, or click Show All Diagrams to view all diagrams.• Model Navigator shows the Package models in the project. You can click on a Package to view its child models in the Menu Pane, or click Show All Models to view all model elements.• Class Navigator shows the Package models in the project. You can click on a Package to view its child packages/classes in the Menu Pane, or click Show All Models to view all packages/classes.

Menu PaneIt shows the sub-menus of the Navigator pane. The contents shown in this pane varies with the link you clicked in the Navigator Pane. For more details about the possible contents please refer to the Navigator Pane section. To view the details of an item (diagram, model or package/class), click on its link in the Menu Pane and its details will be shown in the Content Pane.

Figure 4.8 - Menu NavigatorContent PaneIt shows the details of the item (diagram, model or package/class) you clicked in the Menu Pane or Content Pane.

Page 38: Visual Paradigm - Software Project Management Assignment

Diagram Content

Figure 4.9 - The Diagram ContentThe diagram type, name, description, together with a full size image of the diagram are shown in the Content Pane. The image is mapped to different clickable regions for each shape, so you can click on a shape in the image to view its details.

ModelsThe Models section of the diagram content page shows the name, type and documentation of the models of all shapes in the diagram. You can click on the link of a model to view its details.Model ContentThe type, name and general model properties of a model are shown in the content page.Relationships The summary of the relationships of the model is shown in the Relationships Summary section. Just click on a relationship interested and it will take you to the relationship's details in the Relationships Detail section.

Page 39: Visual Paradigm - Software Project Management Assignment

Chapter 5 - InteroperabilityXMI, short for XML Metadata Interchange, is a widely used XMI based format for exchanging metadata information. The most common use of XMI is for interchange of UML objects.VP-UML facilitates excellent interoperability by allowing exchanging UML diagrams and models via XMI. Apart from this, you also can import models created from IBM Rational Rose previously.This chapter guides you through the process of importing an XMI file and IBM Rational Rose model, and exporting VP-UML project as a XMI file. In this chapter:• XMI Importer and Exporter

XMI Importer and Exporter

Figure 5.1

Supported XMI File versionVP-UML supports the importing several version of XMI files. Let's see the following table for details.Supports Import XMI files version Supports Export XMI files versionXMI 1.0 for UML 1.x XMI 1.0 for UML 1.xXMI 1.2 for UML 1.x XMI 1.2 for UML 1.xXMI 2.1 for UML 1.x XMI 2.1 for UML 1.xXMI 1.0 for UML 2.0 XMI 1.0 for UML 2.0XMI 1.2 for UML 2.0 XMI 1.2 for UML 2.0XMI 2.1 for UML 2.0 XMI 2.1 for UML 2.0

Table 5.1 - Supported XMI version

Importing an XMI FileThe diagram below shows the class diagram in MagicDraw® before exporting as an XMI file.

Figure 5.2 - Class Diagram created by MagicDraw

Page 40: Visual Paradigm - Software Project Management Assignment

To import an XMI file into VP-UML:1. Select File > Import > XMI...from main menu. This display the Import XMI dialog box.2. In the dialog, locate the XMI file and click OK to open it. You can enter the path directly on the text field or click ... to locate the file from file chooser.3. Since different tool support XMI in different ways, it may have chances that some elements proprietary to a particular tool could not be imported into VP-UML. If that's the case, the Log Details dialog box will be shown and display the problems.4. Upon finishing, diagrams and models from the XMI files are imported into VP-UML.

Exporting an XMI fileThe diagram below shows a Use Case Diagram created in VP-UML before exporting as an XMI file.

Figure 5.5 - Use Case DiagramTo export a VP-UML project into a XMI file:1. Select File > Export > XMI...from main menu. This display the Export XMI dialog box.2. In the dialog, locate the XMI file and click OK to export the project to the specified file path. You can enter the path directly on the text field or click ...to locate the file from file chooser.3. Upon finishing, diagrams and models from the VP-UML project are exported as an XMI file.

Page 41: Visual Paradigm - Software Project Management Assignment

Chapter 6 - Automatic Diagrams LayoutVP-UML provides a layout facility for arranging diagram elements in diagrams(Use Case Diagram, Class Diagram, Communication Diagram, State Machine Diagram, Activity Diagram, Component Diagram, Deployment Diagram, Composite Structure Diagram, Timing Diagram, Interaction Overview Diagram, Overview Diagram, Business Workflow Diagram). It relayouts the diagram elements so that they do not overlap, and the relationship links are arranged so that they will not cross over one another. Different layout styles and configurable options are provided, which allows very flexible and sophisticated layout to be adopted for diagrams. In this chapter:• Using diagram layout facility• Setting the diagram layout options

Auto LayoutAuto Layout can arrange the shapes by selecting the most suitable layout automatically. It is best for arranging the shapes when user has no special preference in choosing a specific layout.To apply Auto Layout to the diagram, right-click on the diagram and select Layout > Auto Layout from the popup menu.

Figure 6.1 - Select Auto Layout

Class DiagramHierarchy base (Factory class diagram)

Figure 6.2 - Hierarchy base (Factory class diagram)

Page 42: Visual Paradigm - Software Project Management Assignment

Navigation base (Mediator class diagram)

Figure 6.3 - Navigation base (Mediator class diagram)

Activity Diagram

Figure 6.4 - Auto layout of activity diagram

State Machine Diagram

Figure 6.5 - Auto layout of state machine diagram

Performing Layout• To layout all the diagram elements in the diagram, right-click on the diagram and select Layout from the popup menu.• To layout the selected diagram elements, right-click on the selection and select Layout from the popup menu (make sure there are more than one diagram elements selected).

Page 43: Visual Paradigm - Software Project Management Assignment

Appendix D - Keyboard ShortcutsAction -----Hot Key\nDescriptionNew Project... Ctrl-NTo create either a new UML 1.x or a new UML 2.0 project. The Create New Project dialog boxwill appear which allows you to create a blank project, a project created from existing projecttemplates, or import from other CASE tool project files.Open Project... Ctrl-O To open an existing project.Save Project….. Ctrl-STo save the current project. If the project is a new one, this operation is equivalent to "SaveProject as...New Diagram...Ctrl-Shift-NTo create a new diagram.Print... Ctrl-PTo print selected diagrams in the current project. A new dialog box will be presented, allowingyou to select the diagrams to be printed, as well as configuring various printing options.Undo…… Ctrl-Z To undo the last action that you performed.Redo…… Ctrl-Y To redo the last action that you performed.Repeat Create... F3 To repeat create last shape.Cut ……Ctrl-XTo cut the selected diagram elements from the diagram and copy them to the application clipboard.Default Copy……… Ctrl-CTo perform the copy action as configured in the VP-UML application options (Options dialogbox -> Diagramming category -> Environment page). The default "default copy" action isCopying within VP-UML.Copy to Clipboard as OLE…….Ctrl-Shift-CTo copy the selected diagram elements from the diagram to the system clipboard. The diagramelements can then be pasted to OLE containers like Word, Excel and PowerPoint, which can beedited directly.Copy toClipboard asImage )JPG(……..Ctrl-Alt-C To copy the selected diagram elements as a JPG image to the system clipboard.Copy to Clipboard as Image )EMF(………Ctrl-Alt-Shift-CTo copy the selected diagram elements as an EMF image to the system clipboard.Duplicate……. Ctrl-E To duplicate the selected diagram elements.Paste View…….. Ctrl-V To paste the contents of the application clipboard to the drawing pane.Delete……. Delete To delete the selected diagram elements from the diagram.Select All………. Ctrl-A To select all the diagram elements from the current diagram.Deselect………. Ctrl-D To deselect all diagram elements.Find Ctrl-F To find elements (model elements and diagram elements) in the current project.Jump to Element in Active Diagram.......Ctrl-J To jump to an element in the active diagram.Jump to Element........Ctrl-Shift-JTo jump to an element in the project. If the selected element belongs to a diagram, this diagramwill be opened, and the element will be selected and centered in the diagram. If the selectedelement is a model that does not have a view, it will be selected in the Model pane.Group ……Ctrl-GTo organize shapes in group. The group can manipulate related shapes together (select, deselect, move, align and resize).

Page 44: Visual Paradigm - Software Project Management Assignment

Ungroup……..Ctrl-Shift-GTo ungroup the grouped shapes in diagram.Align Shapes……… F12To display the Align Shapes dialog box that allows you to configure the top/bottom, left/rightalignments and same width/same height options all at a time.Show Diagram Navigator………Ctrl-Shift-ITo open/activate the Diagram Navigator.Show Model Pane……..Ctrl-Shift-OTo open/activate the Model Pane.Show Class Repository……..Ctrl-Shift-LTo open/activate the Class Repository Pane.Show Logical View………Ctrl-Shift-ATo open/activate the Logical View Pane.Show ORM Pane……..Ctrl-Shift-RTo open/activate the ORM Pane.Show Stencil Pane……..Ctrl-Shift-STo open/activate the Stencil Pane.Show Property Pane……..Ctrl-Shift-PTo open/activate the Property Pane.Show Diagram Overview Pane……….Ctrl-Shift-VTo open/activate the Diagram Overview Pane.Show Documentation Pane……..Ctrl-Shift-UTo open/activate the Documentation Pane.Show Message Pane………Ctrl-Shift-MTo open/activate the Message Pane.Toggle Show Resources……….. Ctrl-R To toggle the visibility of resources.Full Screen ………F11To toggle the full screen mode (display only the Toolbar and the Diagram Pane, all theother UI components will be hidden).Zoom In……Ctrl-EqualsTo magnify the diagram by 10%.Zoom Out………Ctrl-MinusTo diminished the diagram by 10%.Zoom 100% )Actual Size( Ctrl-0 To view the diagram in its actual size.Previous Diagram…….. Alt-Left To switch to the previous diagram.Next Diagram ……..Alt-Right To switch to the next diagram.Switch to Diagram..........Ctrl-Shift-ETo manage windows by selecting windows to close, and/or activate a selected window.Close Active Window…….. Ctrl-W To close the active window.Close All Windows………Ctrl-Shift-WTo close all opened the windows.Open Specification... Enter To open the specification of active diagram or diagram elementClassesAction ………Hot Key ……….. DescriptionAdd Attribute………. Alt-Shift-A………. To add a attribute to a currently selected ClassAdd Operation ……….Alt-Shift-O………. To add an operation to a currently selected ClassEntitiesAction ……..Hot Key ……… DescriptionNew Column….. Alt-Shift-C….. To add a new column to an currently selected Entity or ResultSet