ftp.nice.ch/pub/next/developer/resources/classes/misckit/MiscKit.1.10.0.s.gnutar.gz#/MiscKit/Examples/UNIX-HatersTool/BBSwapWindow.m

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

/* BBSwapWindow.m				 
 *
 * This our special window obejct. The only thing it does is to trigger a 
 * inital swap for the swpaByMatrix view.
 *
 * For interface-info see the header file. The comments in this file mostly
 * cover only the real implementation details.
 *
 * Written by: 		Thomas Engel
 * Created:    		27.12.1994 (Copyleft)
 * Last modified: 	27.12.1994
 * Copyright (C) 1995 Thomas Engel
 */

#import "BBSwapWindow.h"
#import <misckit/MiscSwapView.h>

@implementation BBSwapWindow

- makeKeyAndOrderFront:sender
{
	if( [triggerSource respondsTo:@selector(selectedCell)] )
			[swapView swapContentView:[triggerSource selectedCell]];
	else	[swapView swapContentView:triggerSource];
	
	return [super makeKeyAndOrderFront:sender];
}

@end

/*
 * History: 27.12.94 First testShoud just work.
 *
 *
 * Bugs: - No.
 */

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