/* TToolsPalette.m
 * Written By:  Thomas Burkholder
 *
 * You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
 * fitness for any particular use.
 */

#import "TToolsPalette.h"
#import "Bundles.subproj/BundleLoader.h"
#import "ShowMenus.subproj/ShowMenuCell.h"

@implementation TToolsPalette

+ finishLoading:(struct mach_header *)header
{
	// need to do this here, before other palettes are loaded.\
	// we lose the pointer to it; but that's ok.
	[[BundleLoader alloc] init];
	return self;
}

- finishInstantiate 
{
	[self associateObject:switchView
		type:IBViewPboardType with:switchViewCover];
	[self associateObject:timerObject
		type:IBObjectPboardType with:timerView];
	[self associateObject:rankerView
		type:IBViewPboardType with:rankerCover];
	[self associateObject:listObject
		type:IBObjectPboardType with:listCover];
	[self associateObject:tBinderObject
		type:IBObjectPboardType with:tBinderCover];
	[self associateObject:sortedList
		type:IBObjectPboardType with:sortedListCover];
	[self associateObject:classAgent
		type:IBObjectPboardType with:classAgentCover];
	[self associateObject:stringAgent
		type:IBObjectPboardType with:stringAgentCover];
	[self associateObject:[[ShowMenuCell alloc] initTextCell:"Show Menus"]
		type:IBMenuCellPboardType with:showMenuCellCover];
	[self associateObject:circularSlider
		type:IBViewPboardType with:circularCover];
	[self associateObject:taList
		type:IBObjectPboardType with:taListCover];

	return self;
}


@end
