🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Andreas Haleger Tue, 12 Jan 1993 12:37
ConnectionInspector in IB
#2329
Author: Andreas Haleger
Date: Tue, 12 Jan 1993 12:37
27 lines
1817 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads