apps-gorm/Palettes/2Controls/inspectors.m
Gregory John Casamento cde6e64c5e Improved button inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21618 72102866-910b-0410-8b05-ffd578937521
2005-08-06 21:46:01 +00:00

66 lines
1.7 KiB
Objective-C

/* inspectors - Various inspectors for control elements
Copyright (C) 2001 Free Software Foundation, Inc.
Author: Adam Fedor <fedor@gnu.org>
Laurent Julliard <laurent@julliard-online.org>
Date: Aug 2001
This file is part of GNUstep.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
#include <AppKit/AppKit.h>
#include <InterfaceBuilder/InterfaceBuilder.h>
#include "GormButtonAttributesInspector.h"
#include "GormStepperAttributesInspector.h"
@implementation NSButton (IBObjectAdditions)
- (NSString*) editorClassName
{
return @"GormButtonEditor";
}
- (NSString*) inspectorClassName
{
return @"GormButtonAttributesInspector";
}
@end
@implementation NSButtonCell (IBObjectAdditions)
- (NSString*) inspectorClassName
{
return @"GormButtonCellAttributesInspector";
}
@end
@implementation NSStepper (IBObjectAdditions)
- (NSString*) inspectorClassName
{
return @"GormStepperAttributesInspector";
}
@end
@implementation NSStepperCell (IBObjectAdditions)
- (NSString*) inspectorClassName
{
return @"GormStepperCellAttributesInspector";
}
@end