home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Documentation / Development Notes / ODF Examples RoadMap / ODF Examples Overview < prev    next >
Encoding:
Text File  |  1996-09-18  |  3.7 KB  |  55 lines  |  [TEXT/ttxt]

  1. OpenDoc
  2. Development
  3. Framework
  4.                                                                                                                                                                                      
  5. ODF Examples Overview
  6. ODF Release 2                                                                                                                                                             
  7.  
  8.  
  9. ODF currently provides 10 samples ranging from a very simple one (ODFNothing) to a fully functional part editor (ODFDraw). But don't forget, ODF examples are written to demonstrate ODF capabilities, they are not designed to be commercial part editors (ODFDraw is far from being another MacDraw). A lot of features you would expect from a commercial part editor are still missing.
  10.  
  11. In addition to the sample parts you will notice three other folders in ODFDev: ColorExtension, CyberStarter, and ViewTester. ColorExtension is an example of an OpenDoc extension; it is used by the ODF samples ODFBitmap and ODFContainer. CyberStarter is a very simple Cyberdog-savvy ODF part. ViewTester shows how to import PowerPlant or MacApp views into an ODF part.
  12.  
  13. • ODFNothing
  14.  
  15. ODFNothing is the simplest non-embedding part editor you can write with ODF. ODFNothing does nothing but fill its frame shape with blue.
  16.  
  17. • ODFClock
  18.  
  19. ODFClock is a simple non-embedding part editor that displays a clock in either digital or analog mode.
  20.  
  21. • ODFButton
  22.  
  23. ODFButton displays a pushbutton control. A sound file or compiled AppleScript script can be dropped on it and will be played or executed when the button is pressed.
  24.  
  25. • ODFHello
  26.  
  27. ODFHello is our version of "Hello World." This part displays a string that can be changed by pasting or dropping.
  28.  
  29. • ODFBitmap
  30.  
  31. ODFBitmap is a non-embedding part editor that displays a bitmap which can be selected and copied, dragged, dropped, and pasted. ODFBitmap supports multiple display frames with different scaling factors. It contains support for displaying Cyberdog picture data. Finally, if ColorExtension is installed, clicking in the bitmap calls the SetForegroundColor function of the extension, passing it the color of the pixel which was clicked on.
  32.  
  33. • ODFForm
  34.  
  35. ODFForm is a showcase for the view subsystem.  It shows how to use controls, edit views, and list boxes, and how to respond to their notifications.  It contains an example of a scrolling edit view with undo/redo support, and a password dialog.
  36.  
  37. • ODFEmbed
  38.  
  39. ODFEmbed is a minimal embedding part editor. You can embed a single frame by using the Insert menu command, by pasting, or by dropping. These actions can be undone. ODFEmbed also provides a menu command to split the frame into multiple facets.
  40.  
  41. • ODFContainer
  42.  
  43. ODFContainer is a full-featured container part with no intrinsic content. Embedded frames can be resized, moved around, and scaled. Parts can be copied, pasted, inserted, dragged, and dropped. All of these actions can be undone.  ODFContainer also supports zooming, View As, and scrolling. Finally, it responds to ColorExtension calls to change the background color.
  44.  
  45. • ODFTable
  46.  
  47. ODFTable is a container part in which embedded frames are located in cells of the table. Grid lines of the table can be moved (using a tracker), which causes embedded frames to be resized.  Embedded parts can be cut, copied, pasted, inserted, cleared, dragged, and dropped. ODFTable also supports linking.
  48.  
  49. • ODFDraw
  50.  
  51. ODFDraw is a full-featured draw editor. ODFDraw supports almost all OpenDoc features including scripting, linking, scrolling, embedding, etc., as well as undoable commands for cut, copy, paste, clear, insert, drag, and drop.
  52.  
  53.  
  54. © 1993 - 1996 Apple Computer, Inc. All rights reserved.
  55. Apple, the Apple Logo, Macintosh, and OpenDoc are trademarks of Apple Computer, Inc., registered in the United States and other countries.