Previous Book Contents Book Index Next

Inside Macintosh: Programmer's Guide to MacApp / Part 2 - Working With MacApp

Chapter 31 -
Working With the Edition Manager

This chapter provides a recipe and sample code that demonstrate how to

For a detailed overview of MacApp's Edition Manager support, including definitions of commonly used terms, see "Publish and Subscribe," beginning on page 184.

Chapter Contents
Basic Edition Manager Support
Designating an Area in a Document
Publisher and Subscriber Borders
Section Apple Events
Recipes--The Edition Manager
Recipe--Adding Publish and Subscribe Support to Your Application
Include MacApp Header Files for the Edition Manager
Include Edition Manager Resources in Your Resource File
Base Your Document Class on TEditionDocument
Provide a Document Initialization Method
Specify the Data Format for Your Subscriber Sections
Override the DoWriteData Method to Publish Data
Override the DoReadData Method to Subscribe to Data
Notify the Edition Manager When the User Selection Changes
Override DoAddBorder to Supply a Border Adorner
Add a Dependency to Trigger Publisher Updates

Previous Book Contents Book Index Next

© Apple Computer, Inc.
25 JUL 1996