Removed some methods.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20493 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-12-28 02:37:02 +00:00
parent 0d3289f6c3
commit edf2035650
3 changed files with 9 additions and 30 deletions

View file

@ -1,3 +1,9 @@
2004-12-27 21:39 Gregory John Casamento <greg_casamento@yahoo.com>
* GormLib/IBObjectAdditions.m: Changed some implementations.
* GormObjectEditor.m: Removed methods which it was unecessary
to override.
2004-12-27 21:21 Gregory John Casamento <greg_casamento@yahoo.com>
* GModelDecoder.m:

View file

@ -35,7 +35,7 @@
*/
+ (BOOL)canSubstituteForClass: (Class)origClass
{
return YES;
return NO;
}
/**
@ -69,7 +69,7 @@
*/
- (NSString *)objectNameForInspectorTitle
{
return NSStringFromClass([self class]);
return [self className];
}
/**

View file

@ -30,22 +30,7 @@
* Method to return the image that should be used to display objects within
* the matrix containing the objects in a document.
*/
@implementation NSObject (GormAdditions)
+ (BOOL)canSubstituteForClass: (Class)origClass
{
return NO;
}
- (void)awakeFromDocument: (id <IBDocuments>)doc
{
// does nothing...
}
- (NSString *)nibLabel: (NSString *)objectName
{
return nil;
}
@implementation NSObject (GormObjectAdditions)
- (NSImage*) imageForViewer
{
static NSImage *image = nil;
@ -60,11 +45,6 @@
return image;
}
- (NSString *)objectNameForInspectorTitle
{
return [self className];
}
- (NSString*) inspectorClassName
{
return @"GormObjectInspector";
@ -89,15 +69,8 @@
{
return @"GormObjectEditor";
}
- (NSArray*) ibIncompatibleProperties
{
return nil;
}
@end
@implementation GormObjectEditor
static NSMapTable *docMap = 0;