home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6112 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.1 KB  |  27 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!news
  3. From: cjb@canopus.Stanford.EDU (Cecil Bloch)
  4. Subject: Re: Reading in .rtfd files
  5. Message-ID: <1992Sep11.164035.3569@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Reply-To: cjb@vega.stanford.edu
  8. Organization: DSO, Stanford University
  9. References: <BuDMzq.C52@monitor.com>
  10. Date: Fri, 11 Sep 92 16:40:35 GMT
  11. Lines: 14
  12.  
  13. In article <BuDMzq.C52@monitor.com> howard@monitor.com (Howard Brenner)  
  14. writes:
  15. > I actually did something pretty hacky.  I did a:
  16. >     [Text registerDirective:"NeXTGraphic" forClass:[GraphicCell class]];
  17. > Where GraphicCell is a subclass of ButtonCell.
  18.  
  19. Unless you have a specific reason for wanting a ButtonCell, Cell itself  
  20. will do, but even that is overkill since if all you want is an embedded  
  21. TIFF then there is no need for all the Cell machniery and as long as your  
  22. Object subclass implements the methods spelled out in the Text  
  23. documentation all will be fine, just fine.  Hence GraphicImage is a  
  24. subclass of Object, not Cell.
  25.