Sunteți pe pagina 1din 79

SDE-NB Tutorial Table of Contents

Table of Contents
Chapter 1 Introduction ................................................................................................................................ 2
Working with SDE for NetBeans/Sun ONE......................................................................................................3
Code Reverse Engineering......................................................................................................................................5
Code Generation......................................................................................................................................................8
Code Synchronization ...........................................................................................................................................10
Chapter 2 Full Software Development Support.......................................................................................... 1
Performing Analysis................................................................................................................................................2
Performing Design ..................................................................................................................................................4
Performing Implementation.................................................................................................................................20
Round-Trip Support .............................................................................................................................................23
Chapter 3 Modeling Features...................................................................................................................... 1
Printing.....................................................................................................................................................................2
Report Generation ..................................................................................................................................................6
HTML Report Generation ...................................................................................................................................................... 6
PDF Report Generation ........................................................................................................................................................ 10
Diagramming Features .........................................................................................................................................16
General Diagramming Features............................................................................................................................................ 16
Advanced Diagramming Features ........................................................................................................................................ 18
Exporting Diagrams..............................................................................................................................................22
Copy and Paste ......................................................................................................................................................26
Chapter 4 Interoperability ........................................................................................................................... 1
Importing/Exporting XMI......................................................................................................................................2
Importing from Rose...............................................................................................................................................4
Using Plug-in............................................................................................................................................................5
Using Template........................................................................................................................................................8
1
Chapter 1 Introduction

In this chapter, you will learn how to work with the SDE environment in NetBeans/Sun ONE, and you will have a first
taste of the powerful functionalities of SDE including code reverse engineering, code generation and code/model
synchronization.

In this chapter:
Working with SDE for NetBeans/Sun ONE
Code Reverse Engineering
Code Generation
Code Synchronization
SDE-NB Tutorial Chapter 1 Introduction

Working with SDE for NetBeans/Sun ONE


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.

2. When the Project Manager dialog box appears, click on the New button.

3. When the Create New Project dialog box appears, enter School in Project Name and then click OK to confirm.

4. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu.
SDE-NB Tutorial Chapter 1 Introduction

5. When the New Wizard Local Directory appears, select the School sample project folder and then click Finish to continue.

6. Select the Tools menu > Start VP-SDE NB to start SDE.


SDE-NB Tutorial Chapter 1 Introduction

7. SDE is started. Lets have a glance at the SDE environment.

SDE Toolbars Provide quick access to SDEs frequently used functionalities


Diagram Tree Displays diagrams in the project categorized by diagram types
Class Repository Tree Displays packages/classes in the model repository
Model Tree Displays model elements in the model repository
Documentation Pane Displays the documentation associated with the selected element
Element Viewer Displays detailed information about specific kind of elements (such as attributes/operations of
a class)
Preview Pane Displays the overview of the active diagram
Property Pane Displays context-sensitive properties of selected elements

To see the interactive tutorial of this section, please click here.

Code Reverse Engineering


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter School in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the School sample project folder and then click Finish to continue.
4. Select the Tools menu > Start VP-SDE NB to start SDE.
SDE-NB Tutorial Chapter 1 Introduction

5. Select the Modeling menu > Auto Synchronization Disable to disable auto synchronization (we will enable it again at the end of
this section).

8. Select the Tools menu > VP-SDE NB > Update UML Model.

9. You will see the reversed classes appear in the Model Tree.

10. Right-click on the package sch and select the Form Diagram menu > Customize.
SDE-NB Tutorial Chapter 1 Introduction

11. When the Form Diagram dialog box appears, enter School Class Diagram in Diagram Name, and select the option Show all
levels in single diagram. After that, click OK to generate the diagram.

12. A class diagram will be generated as shown below.

13. Select the Tools menu VP-SDE NB > Auto Synchronization Enable to enable auto synchronization.
SDE-NB Tutorial Chapter 1 Introduction

To see the interactive tutorial of this section, please click here.

Code Generation
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForCodeGen in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForCodeGen sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForCodeGen.vpp file in the project folder, then click Open to confirm.
5. Activate the diagram School Class Diagram, resize the package sch to make room for new classes.

6. Create a class named Student and place it inside the package sch.

7. Right-click on the new class and select New Attribute from the popup menu.
SDE-NB Tutorial Chapter 1 Introduction

8. Enter -name : String to add a private attribute (- is UML notation for private visibility) named name with type String.
After that, press the Enter key to confirm.

9. With the attribute name still selected, press the Insert key to add another attribute. Enter -studentID : String to add a private
attribute named studentID with type String.
10. Right-click on the class Student and select New Operation from the popup menu.

11. Enter +setName(name: String) : void to add a public operation (+ is UML notation for public visibility) named setName, it
accepts a parameter name of type String, and its return type is void.

12. Follow the previous steps to add a getter method for name, this time we enter +getName() : String to add a public operation
named getName whose return type is String.

13. Right-click on the project node SchoolForCodeGen in the Model Tree and select Update Project to Code from the popup
menu.
SDE-NB Tutorial Chapter 1 Introduction

14. You will see the source file Student.java is generated for the new class.

To see the interactive tutorial of this section, please click here.

Code Synchronization
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForCodeSync in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForCodeSync sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForCodeSync.vpp file in the project folder, then click Open to confirm.
5. Activate the diagram School Class Diagram, right-click on the class Teacher and select Select in Code from the popup menu
to open its source file.
SDE-NB Tutorial Chapter 1 Introduction

6. Double-click on the class Teacher and rename it to Instructor.

7. Click once on the tab of Teacher.java to deactivate the class diagram. Auto synchronization is triggered on deactivation of the
class diagram.
8. You will see the change in the class diagram is now reflected in the source code.

9. Edit the class Instructor in the text editor to change the visibility of the attribute name to protected, and change its initial
value from null to unnamed.

10. Edit the method body of setName so that it checks the value of the name parameter before assigning the new value to the
attribute (as shown in the figure below).

11. Press the hot key Ctrl + S to save the source file. Auto synchronization is triggered upon saving of the source file.
12. The change that you have just made to the class Instructor is reflected in the class diagram (except the change of the setName
method body, which is not displayed in the class diagram).

13. Select the setName operation of the class Instructor in the class diagram, press F2 to edit it.
SDE-NB Tutorial Chapter 1 Introduction

14. Replace the + sign to - sign to make this operation private, and change the return type from String to boolean. After that,
press Enter to confirm.

15. Click once on the tab of Instructor.java to deactivate the class diagram.
16. With the help of SDEs incremental code synchronization, the method declaration of setName is updated, while the method body
remains unchanged.

To see the interactive tutorial of this section, please click here.


2
Chapter 2 Full Software Development Support

SDE for NetBeans/Sun ONE allows you to perform system analysis, design, implementation and round-trip code
engineering all within the NetBeans/Sun ONE environment.

In this chapter:
Performing Analysis
Performing Design
Performing Implementation
Round-Trip Support
SDE-NB Tutorial Chapter 2 Full Software Development Support

Performing Analysis
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter School in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the directory C:\NBProjects\School and then click Finish to continue.
4. Select the Tools menu > Start VP-SDE NB to start SDE.
5. Click on the New Use Case Diagram button on the toolbar to create a new use case diagram.

6. Create a system and name it Enrollment System.

7. Create an actor and name it Student.

8. Create a use case Enroll into a course from the actor Student using resource-centric.

9. Create another actor and name it Course leader. Like the actor Student, it will be placed outside the system.

2-2
SDE-NB Tutorial Chapter 2 Full Software Development Support

10. Create a use case Maintain courses from the actor Course leader using resource-centric.

11. Lets elaborate the use case Enroll into a course using textual analysis. Right-click on the use case Enroll into a course and
select Sub Diagrams > Textual Analysis > Create Textual Analysis from the popup menu.

12. Enter the following problem statement into the problem statement editor:

A student can enroll into a course using the online enrollment system.

He/she must be a student of the school in order to enroll a course. After that, he/she can browse through the list of available courses of the
department that he/she is belong to. The basic information of each course including course title, prerequisites, teacher and duration of each course
are listed so that student can choose the one that he/she wants to enroll into.

13. Lets start picking out the candidate classes by selecting noun/noun phrases that are likely to be classes.

2-3
SDE-NB Tutorial Chapter 2 Full Software Development Support

14. Obviously student is a candidate class in the enrollment system. Lets select the word student in the problem statement and
drag it over the candidate class pane to create a candidate class.

15. Follow the previous step to create candidate classes for the words course, school, department and teacher. The resulting
textual analysis document should look like the figure below.

To see the interactive tutorial of this section, please click here.

Performing Design
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForDesign in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForDesign sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForDesign.vpp file in the project folder, then click Open to confirm.

2-4
SDE-NB Tutorial Chapter 2 Full Software Development Support

5. Activate the diagram Use Case Diagram1. Right-click on the use case Enroll into a course and select Use Case Description
from the popup menu.

6. When the Use Case Description dialog box appears, double-click on the Value column of the Name field and type Enroll into a
course. After that, press the hot key Ctrl + Enter to confirm.

7. Move the mouse pointer over the bottom margin of the field Brief Description until it changes to a resize handle. Click and drag
downwards to resize this row so that there is enough space for the description.

2-5
SDE-NB Tutorial Chapter 2 Full Software Development Support

8. Double-click on the Value column of Brief Description and fill in the following description:

After the student logged in to the system, a list of courses will be displayed for selection. The student can select a course interested to view its
details.

9. In the Flow of Events field, double-click on the Actor input cell of the last row. Enter login to add an actor input.

10. Double-click on the System Response cell of the last row, enter course list to add a system response.

11. Add an actor input view course detail below course list.
12. Add a system response course detail below view course detail.
13. The resulting flow of events should look like the figure below.

14. Click OK to finish editing the use case description.

2-6
SDE-NB Tutorial Chapter 2 Full Software Development Support

15. Right-click on Enroll into a course and select Generate Sequence Diagram from the popup menu to generate a sequence
diagram from the flow of events.

16. A sequence diagram will be generated.

17. Lets rearrange the captions so that they match the associated messages.

18. Rename Actor to Student and rename System to Enrollment System.

2-7
SDE-NB Tutorial Chapter 2 Full Software Development Support

19. Right-click on the message course list and select Return from the popup menu to change it to a return message.

20. Use the same method to change course detail to a return message.

21. Activate the Diagram Tree, right-click on Sequence Diagram1 and select Rename from the popup menu.

22. Enter Enroll into a course (system level) in the input dialog box. After that, click OK to confirm.

2-8
SDE-NB Tutorial Chapter 2 Full Software Development Support

23. Activate the diagram Use Case Diagram1, right-click on Enroll into a course and select Sub Diagrams > Sequence Diagram
> Create Sequence Diagram from the popup menu.

24. Create an actor Student.


25. Create an object and name it Enrollment System.

26. Create a message login() from Student to Enrollment System.

27. Create an object Enrollment System Controller and place it to the right of Enrollment System.
28. Create a message login() from Enrollment System to Enrollment System Controller.
29. Create an object Student Repository and place it to the right of Enrollment System Controller.
30. Create a message lookupStudent() from Enrollment System Controller to Student Repository.

31. Create a message student info from Student Repository to Enrollment System Controller to indicate the student is valid.
Change it to a return message.

2-9
SDE-NB Tutorial Chapter 2 Full Software Development Support

32. Create a message login success from Enrollment System Controller to Enrollment System to notify the system that the
login has been successful. Change it to a return message.

33. Create a message course list from Enrollment System to Student. Change it to a return message.
34. Create a message viewCourseDetail() from Student to Enrollment System, and a message viewCourseDetail() from
Enrollment System to Enrollment System Controller.

35. Create an object Course Repository and place it to the right of Student Repository.
36. Create a message lookupCourse() from Enrollment System Controller to Course Repository.

37. Create a message course detail from Course Repository to Enrollment System Controller for displaying to the student.
Change it to a return message.

2 - 10
SDE-NB Tutorial Chapter 2 Full Software Development Support

38. Create a message course detail from Enrollment System Controller to Enrollment System, a message course detail from
Enrollment System to Student. Change both messages to return message.

39. Create a message enroll() from Student to Enrollment System, a message enroll() from Enrollment System to
Enrollment System Controller.
40. Create a message enrollStudent() from Enrollment System Controller to Course Repository.
41. Create a message enroll success from Course Repository to Enrollment System Controller. Change it to a return message.

42. Create a message enroll success from Enrollment System Controller to Enrollment System, a message enroll success
from Enrollment System to Student. Change both messages to return message.

43. Activate the Diagram Tree, right-click on Sequence Diagram1 and select Rename from the popup menu. When the input
dialog box appears, enter Enroll into a course (elaborated) and click OK to rename the diagram.

2 - 11
SDE-NB Tutorial Chapter 2 Full Software Development Support

44. Activate the diagram Use Case Diagram1, right-click on Maintain courses and select Use Case Description from the popup
menu.
45. When the Use Case Description dialog box appears, edit the use case description as in the figure below:

46. Activate the diagram Use Case Diagram1, right-click on Maintain courses and select Generate Sequence Diagram from the
popup menu.
47. Rearrange the captions so that they match their associated messages.
48. Rename Actor to Course leader and rename System to Enrollment System.
49. Change menu to a return message.

50. Activate the Diagram Tree, right-click on Sequence Diagram1 and select Rename from the popup menu. When the input
dialog box appears, enter Maintain courses (system level) and click OK to rename the diagram.
51. Activate the diagram Use Case Diagram1, right-click on Maintain courses and select Sub Diagrams > Sequence Diagram >
Create Sequence Diagram from the popup menu.

2 - 12
SDE-NB Tutorial Chapter 2 Full Software Development Support

52. Draw the sequence diagram so that it has the content has shown in the figure below.

53. Create an object Teacher and place it to the right of Staff Repository.

54. If you have read the previous chapter Performing Analysis, you should recall that we have identified the candidate class
teacher from the textual analysis before. Now lets create a class model from this candidate class so that we can use it in the
sequence diagram.
55. Open the textual analysis Enroll into a course, right-click on teacher on the candidate class pane and select Create Class
Model from the popup menu to create a class from it.

56. Activate the Model Tree and scroll down until you see the class teacher just created.

2 - 13
SDE-NB Tutorial Chapter 2 Full Software Development Support

57. Right-click on this class and select Rename from the popup menu. Enter Teacher in the input dialog and click OK to rename
the class. We should rename the class so that its name starts with a capital letter to conform to the naming convention of the Java
programming language.

58. Switch back to the diagram Sequence Diagram1. Right-click on Teacher and select Select Class > Teacher to assign the class
to this object (to indicate that this object is an instance of Teacher).

59. Create a Create Message from Enrollment System Controller to Teacher to indicate the creation of a new teacher.

2 - 14
SDE-NB Tutorial Chapter 2 Full Software Development Support

60. Create a message from Enrollment System Controller to Teacher. Right-click on this message and select Call from the popup
menu to make it a call message.

61. Right-click on the call message and select Select Operation > Create Operation from the popup menu.

62. When the Operation Specification dialog box appears, enter setName in Name, and select void as the Return type.

2 - 15
SDE-NB Tutorial Chapter 2 Full Software Development Support

63. Click to select the Parameters page. After that, click on Add to add a parameter.

64. In the Parameter Specification dialog box, enter name in Name, and type String in Type.

65. Click OK in the Parameter Specification dialog box, then click OK in the Operation Specification dialog box to continue.
66. You will see that the message is now associated with the setName method of the Teacher class.

2 - 16
SDE-NB Tutorial Chapter 2 Full Software Development Support

67. Continue drawing the diagram so that it looks like the figure below.

68. Create an object Course to the right of Teacher.

69. Create a Create Message from Enrollment System Controller to Course to indicate the creation of a course.

2 - 17
SDE-NB Tutorial Chapter 2 Full Software Development Support

70. Create a message course added from Enrollment System Controller to Enrollment System, a message course added from
Enrollment System to Course leader to notify the course leader that a course has been added. Change both messages to
return message.

71. Activate the Diagram Tree, right-click on Sequence Diagram1 and select Rename from the popup menu. When the input
dialog box appears, enter Maintain courses (elaborated) and click OK to rename the diagram.
72. We have now finished the sequence diagrams for the use cases. Let go back to the textual analysis Enroll into a course to create
classes for the remaining candidate classes.
73. Right-click on student and select Create Class Model from the popup menu.

74. Do the same for the candidate classes department, course and school to create classes for them.
75. Activate the Class Repository Tree and you will see the classes just created. Select all classes, right-click on the selection and
select the Form Diagram menu > Customize to generate a class diagram.

2 - 18
SDE-NB Tutorial Chapter 2 Full Software Development Support

76. When the Form Diagram dialog box appears, enter School Class Diagram in Diagram Name and click OK to confirm.

77. Rename all classes so that all of their names are start with a capital letter.
78. Create a package sch and drag all classes into this package.

79. Lets create a state diagram for the Enrollment System Controller which we have created in the sequence diagrams. Click on the
New State Diagram button on the toolbar to create a state diagram.

2 - 19
SDE-NB Tutorial Chapter 2 Full Software Development Support

80. Create an initial state.

81. Create a state from the initial state using resource-centric, name this state login.

82. Create a state from login using resource-centric, name it viewCourseDetail.

83. Create a state from viewCourseDetail using resource-centric, name it enroll.


84. Create a state from enroll using resource-centric, name it logout.
85. Create a final state from logout using resource-centric.

To see the interactive tutorial of this section, please click here.

Performing Implementation
1. Start NetBeans/Sun ONE, then select the Tools menu > Start VP-SDE NB to start SDE.
2. Select the Tools menu > VP-SDE NB > Auto Synchronization Disable to disable auto synchronization (to avoid deleting the
UML model elements as there is no source file in this sample project).
3. Select the Project menu > Project Manager.
4. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForImplementation in Project Name and then click OK to confirm.

2 - 20
SDE-NB Tutorial Chapter 2 Full Software Development Support

5. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForImplementation sample project folder and then click Finish
to continue.
6. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForImplementation.vpp file in the project folder, then click Open to confirm.
7. In this project, there is a class diagram School Class Diagram, it models a simple design of school with basic attributes,
operations and associations defined for the classes. However, there is no associated source code with the classes.
8. Activate the Class Repository Tree, right-click on the SchoolForImplementation project node and select Update Project to
Code from the popup menu to generate source code for the project.
9. The source codes are generated for the classes. We can now select the Tools menu > VP-SDE NB > Auto Synchronization
Enable to re-enable auto synchronization.
10. Lets select the generated files in the Filesystems explorer, right-click on the selection and select Open from the popup menu to
open them.

11. You may notice that the method bodies are empty. Lets open each file and fill in the necessary method implementations. For
instance, open the file Student.java, delete the old setName method body and type this.name = name;.

12. After all the required method implementations are filled in, open the file Student.java again and examine its content. You will
find that the getter method for the name attribute is missing.
13. Lets type the method declaration and implementation code for the name getter method right below the setName method.

14. Press the hot key Ctrl + S to save the source code. You will see that the getName method is reversed to the class Student in
the class diagram.

2 - 21
SDE-NB Tutorial Chapter 2 Full Software Development Support

15. Navigate to the class Teacher in the diagram. Create a subclass Professor from Teacher using resource-centric.

16. Right-click on Professor and select Update to Code from the popup menu to generate source code.

17. The source file is generated for the class Professor.


18. Rename Teacher to Instructor in the class diagram.

19. Activate the Class Repository Tree, right-click on the SchoolForImplementation project node and select Update Project to
Code from the popup menu to update the changes to the source codes. Note that since the renaming of Teacher will affect more
than one class in the project (it has a subclass Professor), so it is more appropriate to update the whole project instead of
updating only the renamed class.

2 - 22
SDE-NB Tutorial Chapter 2 Full Software Development Support

20. Activate the file Instructor.java, you will see the class declaration is renamed to Instructor.

21. Activate the file Professor.java, the super class declaration Teacher is updated to Instructor, too. Note that you have to
update the old import statement import sch.Teacher; which is no longer valid.
22. You can see how easy it is to perform implementation using SDE. Just design the system in SDE, synchronize to NetBeans/Sun
ONE, and SDE will do all the works for you.

To see the interactive tutorial of this section, please click here.

Round-Trip Support
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForRoundTrip in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForRoundTrip sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForRoundTrip.vpp file in the project folder, then click Open to confirm.
5. Activate the diagram School Class Diagram, right-click on the class Teacher and select Select in Code from the popup menu.

6. Right-click on Teacher again and select Open Specification from the popup menu to edit its specification.

2 - 23
SDE-NB Tutorial Chapter 2 Full Software Development Support

7. Enter A teacher teaches many courses in a school. It has a subclass Professor. in Documentation and select the Abstract
checkbox (to make it an abstract class). After that, click OK to confirm.

8. Click once on the tab of Teacher.java to deactive the class diagram. You will see the changes are now reflected in the source
code.

9. Scroll down the file Teacher.java and edit the setName method to make it private. Add appropriate documentation to notify
other developers about the change.

10. Press the hot key Ctrl + S to save the changes, the UML model is now synchronized with the source code.
11. Click to select the setName method in the class Teacher. After that, press the hot key Alt + Enter to invoke its open
specification dialog box.

2 - 24
SDE-NB Tutorial Chapter 2 Full Software Development Support

12. You can see that the setName method is now private, with the documentation as specified in the source code.

13. Click Cancel to close the Operation Specification dialog box.


14. Right-click on Teacher and select New Operation to add a new operation.

15. Enter +setNameAndTitle(name : String, title : String) : void and press the Enter key to confirm.
The + sign is UML notation for public visibility
The setNameAndTitle accepts two parameters name and title, both belong to String type
Its return type is void
16. Right-click Teacher and select Update to Code to update the changes to code.
17. Scroll down the file Teacher.java to locate the setNameAndTitle method. Fill in appropriate implementation code.

2 - 25
SDE-NB Tutorial Chapter 2 Full Software Development Support

18. Activate the Diagram Tree, right-click on Maintain courses (elaborated) and select Open Maintain courses (elaborated)
from the popup menu to open this diagram.

19. Scroll down the diagram until you see the message 11: setName(). We should not use the setName method anymore as it has
been marked as private.

20. Right-click on Teacher and select Select Operation > setNameAndTitle(name: String, title: String): void from the popup
menu. We select it because it is the only visible method that can modify the name of a teacher object.

21. Some of the previously example are demonstrated using auto synchronization (on deactivation of a class diagram or upon saving
of a source file). If you only want to perform code/model synchronization on demand using menus/buttons/popup menus, you
need to disable auto synchronization (which is enabled by default).

2 - 26
SDE-NB Tutorial Chapter 2 Full Software Development Support

22. To disable auto synchronization, select the Tools menu > VP-SDE NB > Auto Synchronization Disable.

To see the interactive tutorial of this section, please click here.

2 - 27
3

Chapter 3 Modeling Features

Beside the powerful code/model synchronization and round-trip code engineering functionalities, the VP-UML professional
modeling features are provided in SDE:

Printing and report generation allows you to distribute the UML design documentations either in paper form or
electric form
Advanced diagramming features provides easy yet powerful diagram editing. You can make you diagrams look
even fancier than before using the special color filling effect, line styles and fonts
Exporting of diagrams and OLE support to create documentations or presentations outside SDE

In this chapter:
Printing
Report Generation
Diagramming Features
Exporting Diagrams
Copy and Paste
SDE-NB Tutorial Chapter 3 Modeling Features

Printing
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. Select the File menu > Print (UML) to print the SDE design documents.

6. The Printing dialog box appears where you can configure the printing options and preview the printout before printing the
diagrams.
7. Expand the folder Use Case Diagram (1), select the checkbox Use Case Diagram1 to include this diagram in the printout. You
will see the print preview refreshes immediately after the selection.

3-2
SDE-NB Tutorial Chapter 3 Modeling Features

8. Expand the folder Class Diagram (1), select the checkbox School Class Diagram. Scroll down and you will see this class
diagram is now included.

9. As the class diagram is too big to fit into one page. Lets try to setup the page so that the diagram will not break apart.
10. Click on the Page Setup button on the toolbar.

11. When the Page Setup dialog box appears, select A4 in Size and select the Landscape option. After that, click OK to continue.

12. You will find that after the changes in page setup, the print preview has changed its orientation. However, the class diagram still
cannot fit into one page. Now lets try adjusting the margins.

3-3
SDE-NB Tutorial Chapter 3 Modeling Features

13. Click once on a page in the print preview, the margins are shown. Move the mouse cursor over the outer top margin, click and
drag upwards to decrease its margin size. Note that the setting of margins apply to all the pages in the printout.

14. You will see that even the outer top margin size has decreased, the diagram will not expand. It is because we have to decrease the
inner top margin size as well. The space between the outer top margin and the inner top margin is allocated for the header not the
diagram, and the space between the outer bottom margin and the inner bottom margin is allocated for the footer.
15. After you have decreased the inner top margin size, the diagram will expand to take up the remaining space.

16. You may be tempted to adjust all the margins sizes to their minimum. However, it would be quite troublesome and there is a
smarter way to fit a big diagram into one or more pages.
17. On the toolbar, select Pages from the Fit to drop down list.

18. After that, you will see all the diagrams are now fit into one page (the default is fit to one page but you can select multiple pages
like 2 x 2 pages, 4 x 5 pages). The diagram will expand/shrink to fit the available pages specified.
19. Lets click on the Edit Header/Footer button to customize the header and footer.

3-4
SDE-NB Tutorial Chapter 3 Modeling Features

20. Click once on the text box of the Center Section of the header and type School Modeling Report.

21. Type Page (include the trailing space) in the Right Section of the footer.

22. Click on the Insert Page Number button to insert a tag for the current page number.

23. Type of after the page number tag, then click on the Insert Number of Pages to insert a tag for the total number of pages.

24. Click on the Close Edit Header/Footer button on the toolbar to finish editing the header and footer.

3-5
SDE-NB Tutorial Chapter 3 Modeling Features

25. Select Whole Page% from the Zoom drop down list so that we can see the header and footer more clearly.

26. As a result of the adjustment of the top margins we have done previously, the header is not fully visible. Lets now drag the inner
top margin downwards to make more room for the header.

27. Now we have done with the print setup. You can now click on the Print button to print the pages.

28. After that, click on the Close Print Preview button to close the Printing dialog box. Or you can just close this dialog box anytime
without printing, the printing preferences will be remembered by the project so you do not have to configure again.

To see the interactive tutorial of this section, please click here.

Report Generation

HTML Report Generation


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. Select the Modeling menu > Report > HTML.

3-6
SDE-NB Tutorial Chapter 3 Modeling Features

6. When the Generate HTML dialog box appears, select the project node SchoolForModeling in the Print Diagrams pane to select
all the diagrams in the project.

7. Enter C:\NBProjects\SchoolReport\HTML in File location.

8. Deselect the Generate empty tree node option so that diagram type nodes that do not have a diagram will not appear in the report.

9. Click on the Header/Footer page to select it. Select the Use header option to include header in the report.

10. Enter School Modeling Report in Header text 1.

3-7
SDE-NB Tutorial Chapter 3 Modeling Features

11. Select Bold + Italic in Font style and select 20 in Font size.

12. Click on the Generate button to generate the report.

13. After the report generation finished, the default web browser is lauched for previewing the HTML report.
14. Lets click on SequenceDiagram to see whats inside.

15. All the sequence diagrams are listed in the tree menu, and the thumbnails of the diagrams are displayed in the content page.

3-8
SDE-NB Tutorial Chapter 3 Modeling Features

16. Lets scroll down the content page and click on view detail next to the Enroll into a course (elaborated) diagram to view its
detail.

17. In the detail view, the diagram is displayed in its original size.

3-9
SDE-NB Tutorial Chapter 3 Modeling Features

18. Scroll down and you will see the Diagram Content Summary which lists the diagram elements of the diagram, and the details of
each diagram element are listed under the Diagram Content Detail heading.

To see the interactive tutorial of this section, please click here.

PDF Report Generation


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. Select the Modeling menu > Report > PDF.

3 - 10
SDE-NB Tutorial Chapter 3 Modeling Features

6. When the Generate PDF dialog box appears, select the project node SchoolForModeling in the Print Diagrams pane to include
all diagrams in the PDF report.

7. Enter C:\NBProjects\SchoolReport\PDF\SchoolReport.pdf in File location.


8. Click to select the Header/Footer page. Select the Use header option to include header in the report.

9. Enter School Modeling Report in Header text 1.

3 - 11
SDE-NB Tutorial Chapter 3 Modeling Features

10. Select Bold + Italic in Font style and 20 in Font size.

11. We are now ready to generate the report. But before proceeding, we can choose to preview the PDF report first.
12. Lets click on the Preview button.

13. The Adobe Acrobat Viewer License Agreement dialog box will appear. After reading the license agreement, you may click
Accept to proceed, or click Reject if you do not want to accept the license agreement.

3 - 12
SDE-NB Tutorial Chapter 3 Modeling Features

14. The Preview dialog box will appear which shows the first page of the PDF report. Lets click on the Next Page button to navigate
to the next page.

15. Click on the Zoom In button several times so that we can see the content more clearly.

3 - 13
SDE-NB Tutorial Chapter 3 Modeling Features

16. You can even click and drag the content pane to navigate to other part of the page, just like you are using a standalone Acrobat
Reader.

17. Lets click on the Close button to close the Preview dialog box.

18. After we have switched back to the Generate PDF dialog box, click on the Generate button to generate the report.

19. After the report is generated, the PDF report will be opened using the default PDF viewer of the system.

3 - 14
SDE-NB Tutorial Chapter 3 Modeling Features

20. The menu on the left side lists all the diagrams you have included in the report generation. Lets click on School Class Diagram to
view its content.

21. The School Class Diagram is displayed in the content page. Lets scroll down to see the details.

22. All the diagram elements in the diagram are listed under Diagram Content Summary, and the details of each diagram element are
displayed under Diagram Content Detail.

3 - 15
SDE-NB Tutorial Chapter 3 Modeling Features

To see the interactive tutorial of this section, please click here.

Diagramming Features

General Diagramming Features


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. One of the superior features of SDE is the what-you-see-is-what-you-get diagram editing, lets explore more.
6. Activate the School Class Diagram, scroll down until you see the class Teacher.
7. Click on the class and try to drag it out of the sch package. You can feel that there is a resistance at the package boundary which
prevents you from accidentally dragging the class out. Just drag further until the class is completely outside the package.

8. Double-click on the class, you will see that the diagram is now in edit mode. Lets type Instructor to rename the class.

9. Double-click on the name attribute, replace - with # to change its visibility to protected, and change its initial value to
unnamed. After that, press the Enter key to confirm.

3 - 16
SDE-NB Tutorial Chapter 3 Modeling Features

10. Select 50% in the Zoom drop down list on the toolbar so that we can see the whole diagram.

11. Double-click on the class Instructor and rename it back to Teacher. Even the diagram is now zoomed out to very small and can
hardly see the text, the editing mode displays the text in its actual size for easier inline editing.

12. Click on the Zoom 100% button on the toolbar to reset the zoom factor.

13. The resource-centric feature is another unique feature which makes it distinguishable from other modeling tools.
14. Select the class Teacher, the available resources are shown.
15. Click once on the Hide Attributes button.

16. The attributes apartment is suppressed.

3 - 17
SDE-NB Tutorial Chapter 3 Modeling Features

17. With the class Teacher still selected, click on the resource Generalization -> Class and drag to create a subclass Professor.

To see the interactive tutorial of this section, please click here.

Advanced Diagramming Features


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. Activate the diagram School Class Diagram.
6. Right-click on the sch package and select Format > Transparent from the popup menu.

7. The package is changed to transparent.

3 - 18
SDE-NB Tutorial Chapter 3 Modeling Features

8. Select the class School on the diagram. After that, activate the Property Pane and then click on the button next to the Fill
property.

9. When the Format Fill Color dialog box appears, select Gradient in Fill style.

10. Adjust the Transparency to 50% and select Mint Blue in Gradient Color Themes. After that, click OK to contine.

3 - 19
SDE-NB Tutorial Chapter 3 Modeling Features

11. The class School now filled with the gradient color you specified, which looks a lot more fancier.

12. With the class School still selected, click on the button next to the Line property.

13. When the Format Line dialog box appears, select 2 in Style, 5 in Weight and 40% in Transparency. You will see that the
changes to the settings are reflected in the Preview pane immediately. After that, click on the OK button to continue.

14. The line format that you have specified is now applied to the class.

3 - 20
SDE-NB Tutorial Chapter 3 Modeling Features

15. With the class School still selected, click on the button next to the Font property.

16. When the Select Font dialog box appears, select Times New Roman in Font Name, select Bold in Font Style and select 11 in
Font Size. After that, click OK to continue.

17. The selected font is applied to the class, which looks much more impressive.

18. Move the Student association end between School and Student so that it is pointing to the phone attribute of the class
Student.
19. Select the association, then click on the Pin resource which is near the Student side.

3 - 21
SDE-NB Tutorial Chapter 3 Modeling Features

20. Drag the class School down, you will find that the Student end of the association is pinned at the original position.

To see the interactive tutorial of this section, please click here.

Exporting Diagrams
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. Activate the diagram School Class Diagram.
6. Select the File menu > Export diagram > Export Active Diagram as Image.

3 - 22
SDE-NB Tutorial Chapter 3 Modeling Features

7. When the Save dialog box appears, navigate to the folder where you want to save the diagram image, select PNG files (*.png) in
Files of type drop down list and enter SchoolClassDiagram in File name. After that, click Save to confirm.

8. The diagram will be exported to the location you specified in the selected image format.

9. You can also export more than one diagram at once. Just select the File menu > Export diagram > Export Diagram as Image.

3 - 23
SDE-NB Tutorial Chapter 3 Modeling Features

10. When the Diagram Exporter dialog box appears, enter C:\NBProjects\ExportedDiagrams in Output destination. After that,
select the project node SchoolForModeling to export all diagrams in the project.

11. Expand the node Sequence Diagram (4), click on the diagram Enroll into a course (elaborated), the preview of this diagram will
be displayed in the Preview pane.

12. In order to preview the output more clearly, select Real size in Preview mode.

3 - 24
SDE-NB Tutorial Chapter 3 Modeling Features

13. Click on the Export button to start exporting the diagrams. The diagrams will be exported to the location specified.

14. Activate the diagram School Class Diagram, select the class School and then click on the class Department while holding
the Ctrl key to multiple-select them.
15. Select the File menu > Export diagram > Export Selected Diagram as Image.

3 - 25
SDE-NB Tutorial Chapter 3 Modeling Features

16. When the Save dialog box appears, select PNG files (*.png) in Files of type, enter SchoolAndDepartment in File name. After
that, click Save to export the selection as image.

17. You will see the image file is saved to the file path you specified.

To see the interactive tutorial of this section, please click here.

Copy and Paste


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForModeling in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForModeling sample project folder and then click Finish to
continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForModeling.vpp file in the project folder, then click Open to confirm.
5. Activate the diagram School Class Diagram. Select the class Department, then click on the class Course while holding the
Ctrl key to multiple-select them.

3 - 26
SDE-NB Tutorial Chapter 3 Modeling Features

6. Right-click on the selection and select Copy > Copy to System Clipboard as Image from the popup menu.

7. Start Microsoft Word. Type The relationship between Department and Course:, then press Enter to start a new line.

8. Press the hot key Ctrl + V to paste the copied content.

3 - 27
SDE-NB Tutorial Chapter 3 Modeling Features

9. Press Enter twice and then type The relationship between School and Department:. After that, press Enter to start a new line.

10. Switch back to SDE and multiple-select the class School and Department. After that, right-click on the selection and select
Copy > Copy to System Clipboard as OLE from the popup menu.

11. Switch to the Word document and press the hot key Ctrl + V to paste the copied content.

12. Double-click on the OLE object to start editing.

3 - 28
SDE-NB Tutorial Chapter 3 Modeling Features

13. Double-click on the name attribute of School, change the - sign to # sign to change its visibility to protected, and change
its initial value to unnamed. After that, press the Enter key to confirm.

14. Multiple-select School and Department, right-click the selection and select Format > Fill from the popup menu.

15. When the Format Fill Color dialog box appears, select Gradient in Fill style, select Golden in Gradient Color Themes and
click OK to continue.

3 - 29
SDE-NB Tutorial Chapter 3 Modeling Features

16. The fill color is applied to the classes. Lets click anywhere outside the OLE editing area to stop the editing.

17. The OLE object is modified after the editing.

18. You can see it is much more convenient using OLE if you want to make change to the diagram content in a Word document at a
later time. Without the help of OLE you will have to delete the old content, make change to the VP-UML diagram, copy the
modified version and paste it again to the Word document.

To see the interactive tutorial of this section, please click here.

3 - 30
4
Chapter 4 Interoperability

With SDEs interoperability with tools like XMI and Rational Rose, you can import/export your works to/from the SDE with
minimal effort. Besides, templates and plug-ins allows you to extend the features of SDE even further.

In this chapter:
Importing/Exporting XMI
Importing from Rose
Using Plug-in
Using Template
SDE-NB Tutorial Chapter 4 Interoperability

Importing/Exporting XMI
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForInteroperability in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForInteroperability sample project folder and then click Finish
to continue.
4. Select the Tools menu > Start VP-SDE NB to start SDE.
5. Select the Modeling menu > Import from XMI.

6. When the Import XMI dialog box appears, browse for the XMI file SchoolForInteroperability.xmi in the project folder by
clicking on the button. After that, click OK to continue.

7. The diagrams and model elements are imported into the project. Lets open the diagram School Class Diagram and have a
glance.
SDE-NB Tutorial Chapter 4 Interoperability

8. The model elements as described in the XMI file are now imported into the project.

9. You may also export the UML project to an XMI file so that you can port your design work to other modeling tools as well. Just
select the Modeling menu > Export to XMI.

10. When the Export XMI dialog box appears, enter C:\NBProjects\School.xmi in Output Path and select the option XMI 1.1 for
UML 1.3 (Unisys Extension, Recommended for export to Rose). After that, click OK to continue.

11. Now you can import the XMI file to other CASE tools.
SDE-NB Tutorial Chapter 4 Interoperability

To see the interactive tutorial of this section, please click here.

Importing from Rose


1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForInteroperability in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForInteroperability sample project folder and then click Finish
to continue.
4. Select the Tools menu > Start VP-SDE NB to start SDE.
5. Select the Tools menu > Modeling > Import from Rose.

6. In the Import Rose Option dialog box, browse the School.mdl Rose project file in the project folder by clicking on the
button. After that, click OK to import the project.
SDE-NB Tutorial Chapter 4 Interoperability

7. The diagrams and model elements are imported into the project. Lets open the imported diagrams and have a glance.

To see the interactive tutorial of this section, please click here.

Using Plug-in
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForPluginTemplate in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForPluginTemplate sample project folder and then click Finish
to continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForPluginTemplate.vpp file in the project folder, then click Open to confirm.
5. Select the Modeling menu > Configure to import plug-in.
SDE-NB Tutorial Chapter 4 Interoperability

6. When the Plug-in Manage Dialog appears, click Import to browse for the plug-in file.

7. In the Open dialog box, navigate to the project folder and select the file GenerateCPPPlugin.jar, the information and description
of the plug-in are displayed on the right-hand-side of the dialog box. Just click on the Open button to import the plug-in.

8. Click OK in the Plug-in Manage Dialog to close it.


SDE-NB Tutorial Chapter 4 Interoperability

9. Select the Tools menu > Modeling > Plug-in > Execute to select a plug-in to execute.

10. When the Execute Plug-in Dialog appears, select the plug-in Generate C++ Plug-in and then click on the Execute button to
execute it.

11. The VP-UML Plug-in dialog box will appear. Enter C:\NBProjects\C++ Files in Output Path and then click OK to generate
the C++ files.

12. The C++ source files will be generated for the classes in the project.

To see the interactive tutorial of this section, please click here.


SDE-NB Tutorial Chapter 4 Interoperability

Using Template
1. Start NetBeans/Sun ONE, then select the Project menu > Project Manager.
2. When the Project Manager dialog box appears, click on the New button. When the Create New Project dialog box appears,
enter SchoolForPluginTemplate in Project Name and then click OK to confirm.
3. Activate the Filesystems explorer, right-click on Filesystems and select Mount > Local Directory from the popup menu. When
the New Wizard Local Directory appears, select the SchoolForPluginTemplate sample project folder and then click Finish
to continue.
4. Select the Tools menu > VP-SDE NB > Import VP-SDE Project. When the Open dialog box appears, browse for the
SchoolForPluginTemplate.vpp file in the project folder, then click Open to confirm.
5. Select the Modeling menu > Template > Configure to import template.

6. When the Template Manage Dialog box appears, click Import to select the template file.

7. When the Open dialog box appears, navigate to the project folder and select the file UseCaseSchedulingTemplate.jar, the
information and description of the template is displayed on the right-hand-side of the dialog box. Just click Open to import the
template.

8. Click OK in the Template Manage Dialog to close it.


SDE-NB Tutorial Chapter 4 Interoperability

9. Select the Tools menu > Modeling > Template > Execute to select a template to execute.

10. When the Execute Template Dialog appears, select the template Use Case Scheduling and then click Execute to execute it.

11. When the Save dialog box appears, enter C:\NBProjects\UseCaseScheduling.html in File name, then click Save to generate the
use case scheduling web page.
12. The use case scheduling of the project will be generated in HTML format.

To see the interactive tutorial of this section, please click here.

To work out the tutorial by yourself, you can use the sample projects provided. Please click here to get the sample
projects and the interactive tutorials.

S-ar putea să vă placă și