ftp.nice.ch/peanuts/GeneralData/Documents/openstep/OpenStepSpec_rtf.tar.gz#/OpenStepSpec_rtf/ApplicationKit/Classes/NSDataLinkPanel.rtf

This is NSDataLinkPanel.rtf in view mode; [Download] [Up]

paperh18648 margl-907 margr0 margt0 margb0 fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1994 by NeXT Computer, Inc.  All Rights Reserved.

s4 li100 fi0 ri1007 ql f0 b fs36 fs100 
fs36 NSDataLinkPanel
pard s14 li2872 fi-2771 ri1007 ql tx2872 f1 b0 fs28 fs48 
fs28 f0 b fs24 Inherits From:tab b0 fs28 f1 NSPanel : NSWindow : NSResponder : NSObject
fs20 
fs28 s7 f0 b fs24 Conforms To:tab b0 fs28 f1 NSCoding (NSResponder)
fi0 NSObject (NSObject)
fs20 
fs28 s8 fi-2771 f0 b fs24 Declared In:tab b0 fs28 f1 AppKit/NSDataLinkPanel.h
fs20 
fs28 pard s19 li100 fi0 ri1007 ql f0 b fs28 fs20 
fs28 Class Description
fs14 
fs28 pard s1 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 
fs28 An NSDataLinkPanel is an NSPanel that allows the user to inspect data links. The NSDataLinkPanel functions primarily by sending messages to the current data link manager (representing the current document) and to the current link (representing the current selection if it'27s based on a data link). Thus, the panel should be informed, by a b setLink:manager:isMultiple:b0  message, any time the selection changes or a document is created or activated. Since the selection may need to be tracked even before the panel is created, this message can be sent to either the NSDataLinkPanel class or the shared instance.
fs16 
fs28 The NSDataLinkPanel is generally displayed using NSApplication'27s b orderFrontDataLinkPanel:b0  method. An application'27s sole instance of NSDataLinkPanel can be accessed with the b sharedDataLinkPanelb0  method. 
fs16 
fs28 pard s19 li100 fi0 ri1007 ql f0 b fs24 
fs28 Initializing
fs14 
fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 
fs28 fi-6552 + (NSDataLinkPanel *)b sharedDataLinkPaneltab b0 Initializes and returns the shared NSDataLinkPanel object.
pard s19 li100 fi0 ri1007 ql f0 b fs48 
fs28 Keeping the Panel Up to Date
fs14 
fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 
fs28 fi-6552 + (void)b getLink:b0 (NSDataLink **)i linki0 tab Gets information about the NSDataLinkPanel'27s currently
s11 li7030 fi-6553 fi-5796 b manager:b0 (NSDataLinkManager **)i linkManageri0 tab tab selected link; returns the link in i linki0 , the link manager
b isMultiple:b0 (BOOL *)i flagi0 tab tab in i linkManageri0 , and the multiple selection status in i flagi0 .
s9 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 + (void)b setLink:b0 (NSDataLink *)i linki0 tab Informs the receiver of the current document and selection
s11 li7030 fi-6553 fi-5796 b manager:b0 (NSDataLinkManager *)i linkManagertab tab i0 usingi  linki0  as the currently selected link and
b isMultiple:b0 (BOOL)i flagi0 tab tab i linkManageri0  as the current link manager. i flagi0  is YES if the panel will indicate that more than one link is selected. Returns b selfb0 .tab 
s9 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b getLink:b0 (NSDataLink **)i linki0 tab Gets information about the NSDataLinkPanel'27s currently
s11 li7030 fi-6553 fi-5796 b manager:b0 (NSDataLinkManager **)i linkManageri0 tab tab selected link; returns the link in i linki0 , the link manager
b isMultiple:b0 (BOOL *)i flagi0 tab tab in i linkManageri0 , and the multiple selection status in i flagi0 .
s9 li7029 fi-5794 fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b setLink:b0 (NSDataLink *)i linki0 tab Informs the receiver of the current document and selection
s11 li7030 fi-6553 fi-5796 b manager:b0 (NSDataLinkManager *)i linkManagertab tab i0 usingi  linki0  as the currently selected link and
b isMultiple:b0 (BOOL)i flagi0 tab tab i linkManageri0  as the current link manager. i flagi0  is YES if the panel will indicate that more than one link is selected. Returns b selfb0 .tab 
pard s19 li100 fi0 ri1007 ql f0 b fs48 
fs28 Customizing the Panel
fs14 
fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 
fs28 fi-6552 {f3 -} (NSView *)b accessoryViewb0 tab Returns the NSDataLinkPanel'27s custom accessory view.
fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b setAccessoryView:b0 (NSView *)i aViewi0 tab Adds i aViewi0  to the NSDataLinkPanel'27s view hierarchy.
pard s19 li100 fi0 ri1007 ql f0 b fs48 
fs28 Responding to User Input
fs14 
fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 
fs28 fi-6552 {f3 -} (void)b pickedBreakAllLinks:b0 (id)i senderi0 tab Invoked when the user clicks the Break All Links button; puts up an attention panel to confirm the user'27s action, and then sends a b breakAllLinksb0  message to the current link manager.
fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b pickedBreakLink:b0 (id)i senderi0 tab Invoked when the user clicks the Break Link button; puts up an attention panel to confirm the user'27s action, and then sends a b breakb0  message to the current link.
fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b pickedOpenSource:b0 (id)i senderi0 tab Invoked when the user clicks the Open Source button; sends an b openSourceb0  message to the current link.
fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b pickedUpdateDestination:b0 (id)i senderi0 tab Invoked when the user clicks Update from Source button; sends a message to the current link to verify and update the data source and then update the destination data. Returns b selfb0 .
fi-6552 fs16 
fs28 fi-6552 {f3 -} (void)b pickedUpdateMode:b0 (id)i senderi0 tab Invoked when the user selects the update mode; sends a b setUpdateMode:b0  message to the current link.
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.