mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Change to prevent subclasses of FirstResponder from being added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20457 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4f20e420d3
commit
84ef527ee2
2 changed files with 12 additions and 5 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,9 @@
|
|||
2004-12-14 21:26 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassManager.m: -addClassNamed:withSuperClassNamed:
|
||||
actions:outlets:isCustom: added check for superclass of
|
||||
"FirstResponder".
|
||||
|
||||
2004-12-14 21:04 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassEditor.m: Added code in pasteInSelection to prevent
|
||||
|
@ -20,9 +26,9 @@
|
|||
* GormClassManager.h: Made variable names conform a little more to
|
||||
standard practice. Also changed the declarations of "NSArray*" to
|
||||
"NSArray *".
|
||||
* GormClassManager.m: Corrected addClass:withSuperClassNamed:actions:
|
||||
outlets: to eliminate duplicate actions, outlets from the class being
|
||||
added if they exist on the superclass.
|
||||
* GormClassManager.m: Corrected addClassNamed:withSuperClassNamed:
|
||||
actions:outlets:isCustom: to eliminate duplicate actions, outlets
|
||||
from the class being added if they exist on the superclass.
|
||||
* Gorm.m: Changed coercion to id<IBSelectionEditors,IBEditors) in
|
||||
the methods which handle copy, paste, delete, etc.
|
||||
* TODO: Added more items scheduled for 1.0 release.
|
||||
|
|
|
@ -236,8 +236,9 @@
|
|||
// We make an autoreleased copy of all of the inputs. This prevents changes
|
||||
// to the original objects from reflecting here. GJC
|
||||
|
||||
if ([superClassNameCopy isEqualToString: @"NSObject"]
|
||||
|| [classInformation objectForKey: superClassNameCopy] != nil)
|
||||
if ([superClassNameCopy isEqualToString: @"NSObject"] ||
|
||||
([classInformation objectForKey: superClassNameCopy] != nil &&
|
||||
[superClassNameCopy isEqualToString: @"FirstResponder"] == NO))
|
||||
{
|
||||
NSMutableDictionary *classInfo;
|
||||
|
||||
|
|
Loading…
Reference in a new issue