Designing a method

Table of Contents

Previous | Top | Next

1.Create a new Java project in Eclipse (the same applies to C/C++ with different syntax).
2.Place your cursor in a blank method.
3.Select the Show View/Other from the View menu.
Show View in Eclipse
4.Select both Pseudocode Editor and Flowchart Editor and click OK.
Selecting Flowchart Editor and Pseudocode Editor
5.The pseudocode and flowchart editor's will become visible and you can position them according to your own preferences.
Pseudocode Editor and Flowchart Editor in Eclipse
6.Enter the following pseudocode.
Pseudocode Editor
7.Press the commit button and confirm that you would like to update the method's code.
Commit Button
8.The method will be populated with skeleton code that is ready to be implemented.
Skeleton Code
9.Move your cursor into the code editor and see the associated symbol highlighted in the flowchart.
Flowchart Editor
10.Implement the following code and watch the flowchart updating.
Implementing code
11.The flowchart symbols turn green when they have code associated with them.
Flowchart Editor with code
12.You can make further edits to the flowchart by dragging and dropping or double-clicking symbols.
Dropping Symbol
13.Press the commit button and confirm that you would like to update the method's code.
Commit Button