GRASP - CSD Window (Java) : View

File | Edit | View | Templates | Windows | Compiler | Run | Help

Show Unit Symbols - When selected, this option causes the CSD unit symbols to appear when the CSD is generated.

Show Data Symbols - When selected, this option causes the CSD data symbols (for data type definitions and variable declarations) to appear when the CSD is generated.

Show Boxes - When selected, this option causes the CSD box symbols to appear when the CSD is generated.

Intra-statement Align - This option affects the pretty-printing style of multiple-line statements in GRASP. If not selected, GRASP lines up the first character of each line of the statement. If this option is selected, GRASP will indent the additional lines of the statement so that parenthesis will match up, or so that the first characters on the right hand side of an assignment statement will line up in the same column.

Force Newlines - When on, each statement will be forced to a new line on CSD generation. When off, only compoung statements will be forced to a new line during CSD generation.

Indent curly braces - When not selected, the curly braces line up with the first character of the previous line, as shown above. When this option is selected, the curly braces will indent the same number of spaces as the body of the selection or iteration statement which they enclose.

Auto Line Numbers - When this option is selected, the lines in the source code will be numbered or renumbered on each CSD generation. Note that GRASP does not number lines that are inserted as a result of CSD generation. Only those lines entered by the user will receive a number. Hence the line numbering in GRASP will correspond to line numbering in a standard text editor.

Auto Indent - Copies indentation (CSD and tabs) to the next line when return is hit.

Font Size - Adjusts the size of the font displayed in the CSD window. Note that the font size used when printing is controlled via the print dialog and not this option.

Number Lines - Immediately places line numbers in the CSD window. When the CSD is generated these numbers will disappear (Use the Auto Line Numbers option to maintain line numbering through CSD generations.

Remove Line Numbers - Removes the line numbers that are currently in the CSD window. Note that the numbers will reappear on a CSD generation is the Auto Line Numbers option is selected.

Generate CSD - Generates a Control Structure Diagram for syntactically correct source code in the CSD window. If the source code is not syntactically correct, an error will occur and the line containg the error will be highlighted. The generate CSD function may also be accomplished by pressing the F2 key.

Remove CSD - Removes the Control Structure Diagram from the source code in the CSD window. This function may also be accomplished by pressing the F3 key.

Return to the Introduction to GRASP Page