(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSDataLinkPanel

Inherits From:	NSPanel : NSWindow : NSResponder : NSObject

Declared In:	appkit/NSDataLinkPanel.h

Initializing

+ (NSDataLinkPanel *)sharedDataLinkPanel	Initializes and returns the shared NSDataLinkPanel object.

Keeping the Panel Up to Date

+ (void)getLink:(NSDataLink **)link	Gets information about the NSDataLinkPanel's currently
manager:(NSDataLinkManager **)linkManager	selected link; returns the link in link, the link manager
isMultiple:(BOOL *)flag		in linkManager, and the multiple selection status in flag.
+ (void)setLink:(NSDataLink *)link	Informs the receiver of the current document and selection
manager:(NSDataLinkManager *)linkManager	using link as the currently selected link and
isMultiple:(BOOL)flag		linkManager as the current link manager. flag is YES if the panel will indicate that more than one link is selected. Returns self.	
- (void)getLink:(NSDataLink **)link	Gets information about the NSDataLinkPanel's currently
manager:(NSDataLinkManager **)linkManager	selected link; returns the link in link, the link manager
isMultiple:(BOOL *)flag		in linkManager, and the multiple selection status in flag.
- (void)setLink:(NSDataLink *)link	Informs the receiver of the current document and selection
manager:(NSDataLinkManager *)linkManager	using link as the currently selected link and
isMultiple:(BOOL)flag		linkManager as the current link manager. flag is YES if the panel will indicate that more than one link is selected. Returns self.	

Customizing the Panel

- (NSView *)accessoryView	Returns the NSDataLinkPanel's custom accessory view.
- (void)setAccessoryView:(NSView *)aView	Adds aView to the NSDataLinkPanel's view hierarchy.

Responding to User Input

- (void)pickedBreakAllLinks:(id)sender	Invoked when the user clicks the Break All Links button; puts up an attention panel to confirm the user's action, and then sends a breakAllLinks message to the current link manager.
- (void)pickedBreakLink:(id)sender	Invoked when the user clicks the Break Link button; puts up an attention panel to confirm the user's action, and then sends a break message to the current link.
- (void)pickedOpenSource:(id)sender	Invoked when the user clicks the Open Source button; sends an openSource message to the current link.
- (void)pickedUpdateDestination:(id)sender	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 self.
- (void)pickedUpdateMode:(id)sender	Invoked when the user selects the update mode; sends a setUpdateMode: message to the current link.