📄 tips.txt
字号:
System Specification: For each system, select "Draw - System" to enter system specification.
System Report: To Generate a System Report, Select "Generate - Generate Class Report" and select the script RPTSYS.SCT.
Class Specification : Click on the Spec Button in the Class Dialog box to enter class specification information.
Class Report: Select "Generate - Generate Class Report" and select the script RPTCLASS.SCT or TABCLASS.SCT.
Project Window: Right Mouse Click on a diagram symbol to activate the menu for opening, creating, renaming and deleting diagrams.
Project Window: You can drag and drop a project into another diagram window to create a new diagram.
Class Edit: You can edit names of individual existing attributes and operations by right mouse clicking on the class and choosing edit.
Import and Export Operation Code: WithClass will allow you to import and export code in the operation dialog if you have the import file name field filled in the class specification.
Class Edit: If you type the attribute, operation directly in the class and select outside the class when you are finished, WithClass will parse your attribute and operation information into the diagram.
Attribute and Operation Visibility: You can hide private attributes, for example by right mouse clicking on the
Shapes: You can send a shape from front to back by right clicking on it and choosing "Send To Back'
Shapes: You can show an unfilled shape by right clicking on a shape and choosing "Clear Shape" From the Popup Menu.
Copying to the Web: You can copy a part of your diagram to a gif or jpeg file by selecting the desired region with the clipping tool and choosing Save Selected Image As... from the file menu.
Drawing Relationships: You can straighten a relationship by double clicking on the round green dot connection point and checking straighten in the dialog.
Cardinality on Relationships: You can change the text appearing in a one-to-many relationship by choosing many in the relationship dialog and typing the desired text in the Length field.
Optimizing for Speed: WithClass can be speeded up for large diagrams by turning off undo in the preference dialog.
Attribute Specification: Double click on the attribute in the Class Dialog box to enter attribute specification information or hit the "A" button.
Attribute Report: Select "Generate - Generate Class Report" and select the attribute report script RPTATTR.SCT or TABATTR.SCT.
Operation Specification: Double click on the operation in the Class Dialog box to enter operation specification information or hit the "O" button.
Operation Report: Select "Generate - Generate Class Report" and select the operation report script RPTOPER.SCT or TABOPER.SCT.
States and Transitions: For each state and transition, double click on each state and transition on the state diagram to enter state and transition specification information.
State Specification Report and Table: Select "Draw State Info" to enter global information. Select "Generate - Generate State Code/Report" and select a state report script such as RPTSTATE.SCT or TABSTATE.SCT.
Objects and Interactions: For each object and interaction, double click on each object and interaction on the object interaction diagram to enter object and interaction specification information.
Specification Report and Table: Select "Generate - Generate Object Code/Report" and select the report script RPTOBJ.SCT or TABOBJ.SCT.
Class Diagrams: To create a class diagram, select the notation (Methodology - Rumbaugh or other), select the class symbol, and fill in the class name, attribute names, and operation names.
State Diagrams: To create a state diagram, select the state and transition menu items (Draw State and Draw Transition) or the toolbar icons (Rounded Rectangle and Arrow with T), and fill in state and transition information.
Activity Diagrams: All Activity diagrams in WithClass are created in the State Diagram Windows.
Object Interaction Diagrams: To create an object interaction diagram select the object and interaction menu items (Draw Object and Draw Interaction) or the toolbar icons (Vertical Line and Dashed Arrow) and fill in object and interaction information.
Data types: With Class supports entering and saving data types from various languages. Enter new data types into a diagram or directly update WC2.INI file.
Show Print Borders: Always select "View - Show Print Borders" before you print to ensure your diagram fits within the page margins.
Print Preview: Always select "Edit - Print Preview" before you print to ensure your diagram fits within the page margins. Select "View - Show Print Borders" to show the print borders.
Edit File: Select "File - Edit File" to open, edit, and save a text file. The default text editor is NOTEPAD.EXE. If you desire to use a different text editor, then update the WC2.INI file in C:\WINDOWS directory.
Set New Directory: Select "File - Set New Directory" to create or set a new working folder (directory) if you desire to generate code or reports into a directory other than the current working folder (directory). Running a script places output files here.
Copying a Diagram Region: Select "Edit - Clip Region" menu item or click on the "Clip Region" toolbar icon (dashed line box). Once selected, drag the mouse diagonally from the top left hand corner to select the desired area of the diagram. Then select Edit Copy (or Ctrl-Ins) to copy the area into the Windows clipboard.
Group Move Region: Select "Edit - Clip Region" or click on the "Clip Region" toolbar icon (dashed line box). Once selected, drag the mouse diagonally from the top left hand corner to select the desired area of the diagram. Click in the region and drag.
Set Font: Select "View - Choose Font" to change the default font to your desired font and size.
Show Connections: Select "View - Show Connections" to show connection points (x's) and to show the green/gray dot on the relationship lines. It is recommended that you always show the connection points when editting.
Clip Region: - Select "Edit - Clip Region" or the toolbar icon (dashed line box) to copy into the Windows clipboard or move selected symbols on the diagram. Once selected, drag the mouse diagonally from the top left hand corner to select the desired area of the diagram.
Show Class Only: - Select "View - Show Class Only" to show only the class name and hide attributes and operations on the class diagram.
Line Thickness: - Select "View - Line Thickness" to set the line thickness on diagram symbols and lines. Enter a value from 1 to 4. 1 is very thin and 4 is very thick. The default setting is 1.
Show Print Borders: Select "View - Show Print Borders" to show a print border for printing. Show the print border before you print a diagram.
Browse Classes: Select "View - Browse Classes" to bring up a class browser which displays the names of classes with their attribute names and operation names.
WC2.INI File: You may enter new types, set the default text editor, and set other settings in the WC2.INI file. Exit With Class and update the WC2.INI file in a text editor.
Entering name on branches: Click on the green/gray dot on a line to enter a name.
Adding a branch: Drag relation tool from green dot to destination class.
Font Type/Size: You may set the text font type and size by selecting "View - Choose Font" menu item.
Reversing C++ Header Files: You may create a class diagram from a C++ header file by selecting "Generate - Reverse C++ Header" or "Generate - Generate C++ Directory".
Reversing Delphi Header Files: You may create a class diagram from a Delphi header file by selecting "Generate - Reverse Delphi Header" or "Generate - Reverse Delphi Directory".
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -