Important: The information in this document is obsolete and should not be used for new development.
CyberNotebookExtension
The
- Superclasses
CyberExtension --> ODExtension --> ODRefCntObject --> ODObject
- Subclasses
- none
CyberNotebookExtension
class defines extra behaviors for a part that is to be used as a notebook.Description
TheCyberNotebookExtension
class defines an extension that allows a part to be used as a notebook.CyberNotebookExtension
is an abstract superclass that you must subclass and implement to create your own custom notebook part. However, Cyberdog provides a fully implemented notebook; to use that Cyberdog notebook, you do not need to subclass this class.The Cyberdog notebook implementation is divided between two parts: a notebook manager and a notebook part. The Cyberdog notebook manager (
kNotebookManagerKind
) is composed of an object of anODPart
subclass extended with a subclass ofCyberNotebookExtension
. The notebook manager does not provide a user interface. The notebook user interface is provided by the notebook part (kNotebookKind
), an object of anODPart
subclass.You never need to call
CyberNotebookExtension
methods directly; theCyberSession
class provides the methods you should use to interact with the notebook.Methods
This section presents summary descriptions of theCyberNotebookExtension
methods grouped according to purpose, followed by detailed descriptions.Initialization and Cleanup
Adding Items to the Notebook
Cleanup
- Shuts down this notebook.
Accessing Cyberdog Items
AddCyberItemsToNotebook
- Adds a set of Cyberdog items to this notebook.
AddCyberItemToNotebook
- Adds a Cyberdog item to this notebook.
Showing the Notebook
CountCyberItems
- Retrieves the number of Cyberdog items in this notebook.
GetNthCyberItem
- Retrieves a Cyberdog item displayed in this notebook.
The Address Browser
IsNotebookWindowShown
- Tests whether this notebook's window is currently displayed.
ShowNotebookWindow
- Displays this notebook's window.
PromptForAddresses
- Displays the Cyberdog address browser.
Methods
- AddCyberItemsToNotebook
- AddCyberItemToNotebook
- Cleanup
- CountCyberItems
- GetNthCyberItem
- IsNotebookWindowShown
- PromptForAddresses
- ShowNotebookWindow