Important: The information in this document is obsolete and should not be used for new development.
Part 2 - Programming in Cyberdog
Each of the chapters in this Part Two introduces a sample program that demonstrates ways to use the Cyberdog API and outlines common techniques for using the API.
- Chapter 3, "Adding Cyberdog Features to an OpenDoc Part," uses a button example to show how to create and use Cyberdog items. The chapter also shows how to set up Cyberdog's menus, including the Cyberdog Preferences menu item.
- Chapter 4, "Creating a Cyberdog Display Part," demonstrates how to implement a Cyberdog display part, the part's Cyberdog part extension subclass, and the name-mapping resource. It also shows how to use these techniques with a display part:
- using streams to download data
- supporting the Document menu
- locating a window that displays a Cyberdog item
- positioning and closing windows.
- Chapter 5, "Embedding a Cyberdog Display Part in a Navigator," outlines how to embed a Cyberdog display part in a Cyberdog navigator, how to open a Cyberdog item from an embedded display part, and how to use a progress broadcaster. It also shows additional techniques for supporting an embedded part's menus.
Part Contents
- Chapter 3 - Adding Cyberdog Features to an OpenDoc Part
- Chapter 4 - Creating a Cyberdog Display Part
- Chapter 5 - Embedding a Cyberdog Display Part in a Navigator