//
//	MiscTeePalette.m -- Sets up the palette connections between the visual
//						and the actual objects.
//
//		Written by David Fedchenko.  Copyright 1994 by David Fedchenko.
//				Version 1.0  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"

@implementation  MiscTeePalette

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

@end
