/* 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
