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