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