Navigation:  Guided Tour >

Protocol Browser

Previous pageReturn to chapter overviewNext page

The Protocol Browser presents an overview of all of the method protocols defined in the current image.

Method protocols are the Smalltalk equivalent of Java interfaces. A protocol consists of a series of message selectors that must be implemented by a class if it is to conform to that protocol. In Smalltalk, protocols are advisory only and not enforced.You can use the Protocol Browser to define new protocols or just browse which classes conform to those already in existence.

The Protocol Browser is implemented by the ProtocolBrowserShell class in the image.

 


A Protocol Browser can be opened from the System Folder or from the Tools/Class Browser menu command in any tool.

The Protocol Browser consists of the following panes: