ftp.nice.ch/Attic/openStep/developer/bundles/GDBbundle.1.0.s.tgz#/GDBbundle-1.0.s/TextEdit/GdbBundle.bproj/FrameBrowserCell.m

This is FrameBrowserCell.m in view mode; [Download] [Up]

/* FrameBrowserCell.m created by ovidiu on Tue 15-Apr-1997 */

#import <AppKit/NSMatrix.h>
#import "GdbDisplayController.h"
#import "Frame.h"
#import "FrameBrowserCell.h"

@implementation FrameBrowserCell

- (void)setTarget:(id)anObject	{ target = anObject; }
- (void)setAction:(SEL)selector	{ action = selector; }
- (void)setTag:(int)_tag	{ tag = _tag; }
- (void)setFrame:(Frame*)_frame	{ frame = _frame; }

- (id)target			{ return target; }
- (SEL)action			{ return action; }
- (int)tag			{ return tag; }
- (Frame*)frame			{ return frame; }

- (void)_selectLineInFile:sender
{
//  NSLog (@"_selectLineInFile: sender = %@", sender);

  [frame selectLineInFile];
  [sender selectCellAtRow:tag column:0];
  [[frame gdbController] updateCurrentFrame];
}

@end

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