home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / oop / misc / 130 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.7 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.oop.misc
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!qwerty-gw.fsl.noaa.gov!yoda.fsl.noaa.gov!urban
  3. From: urban@yoda.fsl.noaa.gov (Art Urban)
  4. Subject: Re: TCL windows and dialogs
  5. Message-ID: <1992Dec20.220740.10143@fsl.noaa.gov>
  6. Sender: urban@fsl.noaa.gov 
  7. Organization: Forecast Systems Lab, NOAA, Boulder CO, USA
  8. References: <1992Dec18.174746.10916@vax.oxford.ac.uk>
  9. Date: Sun, 20 Dec 1992 22:07:40 GMT
  10. Lines: 23
  11.  
  12. In article <1992Dec18.174746.10916@vax.oxford.ac.uk> vollrath@vax.oxford.ac.uk writes:
  13. %hundred parameters, then outputs the results to FileForce files. The
  14. %program has to display some changeable information (like date) on screen,
  15. %and optionally display a picture of the web, and a text log file.
  16. %Now, how is this best structured. CDocument is not a subclass of CDLOG-
  17. %Director. Should I make itsWindow the log window, have a separate director
  18. %to deal with the graphic window, and a subclass of CDLOGDirector to handle
  19. %the dialog? Seems awkward, because the dialog has a couple of buttons to
  20.  
  21. As some kind net-soul explained to me:
  22.  
  23. Your DLOG window should be supervised by an instance of DLOGDirector, and
  24. then the DLOGDirector should be supervised by an instance of CDocument. 
  25. Because CDocument is a subclass of CDirectorOwner, it can supervise another
  26. Director.
  27.  
  28. I hope this is right! I have not yet tried it myself...
  29.  
  30. -- 
  31. Art Urban                            urban@stout.atd.ucar.edu
  32. ===============================================================================
  33.  "What's Next? Chasing bunnies on a motorbike until their hearts explode? -Crow
  34. ===============================================================================
  35.