What is PPViewText?
The main attraction of the PPViewText example plugin is its use of PowerPlant
views for display (thus the "PP" in "PPViewText"). PPViewText uses the CMacPluginView
class, which derives from PowerPlants LGrafPortView, to get this behavior.
Building and using PPViewText
68k Mac/CodeWarrior 9:
- In the "Examples:PPViewText:Macintosh" folder, open the
PPViewText68k.µ project file.
- Select the "Project|Make" menu item.
- Copy the plugin (or an alias) "Examples:PPViewText:PPViewText68k"
to the navigator Plug-ins folder.
- Quit and relaunch the Navigator, if it is running.
- With the Navigator (preferably 3.0b5 or above) open the file
"Examples:PPViewText:Testing:PPViewTextExample.html".
PPC Mac/CodeWarrior 9:
- First, build the 68k project, as described in the first two steps
of the 68k Mac section.
- In the "Examples:PPViewText:Macintosh" folder, open the
PPViewTextPPC.µ project file.
- Select the "Project|Make" menu item.
- Copy the plugin (or an alias) "Examples:PPViewText:PPViewText"
to the navigator Plug-ins folder.
- Quit and relaunch the Navigator, if it is running.
- If you had already placed PPViewText68k in the Plug-ins folder, use
the Helpers panel in the General Preferences to select PPViewText as
the Plug-in for the text/plain and application/text media types.
- With the Navigator open the file
"Examples:PPViewText:Testing:PPViewTextExample.html".