Docsity

Open System Browser - Objects and Design | CS 2340, Study Guides, Projects, Research of Computer Science

Toggle sidebar
bg1
Create a method:
Press <ALT-B> to open the System Browser window.
Select a category name from the Category window on the top left of the
System Browser window.
Select a class name from the class window, the second top-left window,
while in the system browser window.
Click on the first method name in the method window, the third top-left
window.
Replace the first line of the bottom window with your method name.
oUse colon followed by any argument names if you wish to declare
any arguments. Use space to separate argument names.
Place comments between the quotes on the second line.
Write your code underneath the second line.
Create a class:
Press <ALT-B>.
Right click on the top left window (Class Category Window) in the System
Browser window.
Select add item from the menu.
Enter the name of you class category in the New Category Name window.
Click the accept button.
In the bottom window, replace NameOfSubclass with your name class
name.
Enter any instance variables, class variables, pool Dictionary between the
single quotes accordingly.
Press <ALT-S> to save the class.
Find a Class
Open system Browser
Right click on the category window.
Pick menu item find a class from the menu.
Click accept
Pick correct class name.
View Class Hierarchy for a particular class
Select the particular class in the System Browser
Click on the Hierarchy Button.
Find a specific method especially if you don’t know the exact name.
Left click the mouse on a blank spot in the project.
Select open from the menu.
Select method finder from this new menu.
Type in word or phase for the method you are looking for.
Press enter
Select method from list.

Partial preview of the text

Download Open System Browser - Objects and Design | CS 2340 and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Create a method:  Press <ALT-B> to open the System Browser window.  Select a category name from the Category window on the top left of the System Browser window.  Select a class name from the class window, the second top-left window, while in the system browser window.  Click on the first method name in the method window, the third top-left window.  Replace the first line of the bottom window with your method name. o Use colon followed by any argument names if you wish to declare any arguments. Use space to separate argument names.  Place comments between the quotes on the second line.  Write your code underneath the second line. Create a class:  Press <ALT-B>.  Right click on the top left window ( Class Category Window ) in the System Browser window.  Select add item from the menu.  Enter the name of you class category in the New Category Name window.  Click the accept button.  In the bottom window, replace NameOfSubclass with your name class name.  Enter any instance variables, class variables, pool Dictionary between the single quotes accordingly.  Press <ALT-S> to save the class. Find a Class  Open system Browser  Right click on the category window.  Pick menu item find a class from the menu.  Click accept  Pick correct class name. View Class Hierarchy for a particular class  Select the particular class in the System Browser  Click on the Hierarchy Button. Find a specific method especially if you don’t know the exact name.  Left click the mouse on a blank spot in the project.  Select open from the menu.  Select method finder from this new menu.  Type in word or phase for the method you are looking for.  Press enter  Select method from list.