ftp.nice.ch/pub/next/developer/resources/classes/misckit/MiscKit.1.10.0.s.gnutar.gz#/MiscKit/Palettes/MiscTeePalette/MiscTeePalette.m

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

//
//	MiscTeePalette.m -- Sets up the palette connections between the visual
//						and the actual objects.
//
//		Written by David Fedchenko.  Copyright 1994 by David Fedchenko.
//		Additions for MiscDistributor by Don Yacktman.
//				Version 1.1  All rights reserved.
//
//		This notice may not be removed from this source code.
//
//	This object is included in the MiscKit by permission from the author
//	and its use is governed by the MiscKit license, found in the file
//	"LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
//	for a list of all applicable permissions and restrictions.
//	

#import "MiscTeePalette.h"
#import "MiscDistributor.subproj/MiscDistributor.h"

@implementation  MiscTeePalette

- finishInstantiate
{
    id	idBundle;
    id	idImage;
	char buf[MAXPATHLEN + 1];
	
	[super finishInstantiate];
	
	[self associateObject:idTee type:IBObjectPboardType to:idTeeView];
	[self associateObject:idDist type:IBObjectPboardType to:idDistView];
	
	idBundle = [NXBundle bundleForClass:[self class]];
    [idBundle getPath:buf forResource:"MiscTee" ofType:"tiff"];
    idImage = [[NXImage alloc] initFromFile:buf];
	[idTeeView setImage:idImage];
    [idBundle getPath:buf forResource:"MiscDistributor" ofType:"tiff"];
    idImage = [[NXImage alloc] initFromFile:buf];
	[idDistView setImage:idImage];
	
	return self;
}

@end

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