Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 437 Bytes
//
// ProfileTableView.m
// iTerm
//
// Created by George Nachman on 1/9/12.
//
#import "ProfileTableView.h"
@implementation ProfileTableView
- (void)setMenuHandler:(NSObject<ProfileTableMenuHandler> *)handler
{
handler_ = handler;
}
- (NSMenu *)menuForEvent:(NSEvent *)theEvent
{
if ([handler_ respondsToSelector:@selector(menuForEvent:)]) {
return [handler_ menuForEvent:theEvent];
}
return nil;
}
@end
Something went wrong with that request. Please try again.