home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8082 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!email!news
  3. From: ah@fml.tuwien.ac.at (Andreas Haleger)
  4. Subject: ConnectionInspector in IB
  5. Message-ID: <1993Jan12.123752.11318@email.tuwien.ac.at>
  6. Sender: news@email.tuwien.ac.at
  7. Nntp-Posting-Host: wampum.fml.tuwien.ac.at
  8. Organization: Technical University of Vienna
  9. Date: Tue, 12 Jan 1993 12:37:52 GMT
  10. Lines: 27
  11.  
  12.  
  13. I am writing a connection inspector for InterfaceBuilder which should  
  14. first behave like the normal connection inspector and further support more  
  15. than one connection attached to an outlet (like e.g. DBModule).
  16. The DBModule's Editor allows the user to control-drag a connection line  
  17. from an icon in the editor's window to the target. If somebody knows how  
  18. to do this, please tell me, but I am satisfied in making connections  
  19. between my object in the object's window and the target by double clicking  
  20. in the connection inspector window.
  21. My problem is where to get outlet names and action methods from. I  
  22. couldn't find any hints in the documentation. (I would not have this  
  23. problem if I were able to subclass IBConnectInspector. It is really a  
  24. pitty that one has to totally rewrite an existing class).
  25. The outlet information could be stored in the inpected objects (e.g.  
  26. -getOutlets: like -getInspectorClassName). For I have to provide  
  27. additional information (like this is an outlet allowing multiple  
  28. connections or this is a "target-action" outlet) I have to write such  
  29. methods nevertheless.
  30. This solution doesn't work for action methods (the target could be of any  
  31. class). The only workaround I see is to have a TextField where the user  
  32. can enter the action method.
  33.  
  34. Waiting for help,
  35. --
  36. == Andreas ==
  37. Wir entschuldigen uns fuer die Strapazen (Douglas Adams). NeXTmail  
  38. accepted.
  39.