improve ui : set setNextView: / initialFirstResponder & delegate method for textfield

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fabien Vallon 2005-07-07 12:43:21 +00:00
parent f55c5147da
commit 9bb2454f1f
7 changed files with 3 additions and 56 deletions

View file

@ -2,24 +2,7 @@
"## Comment" = "Do NOT change this file, Gorm maintains it"; "## Comment" = "Do NOT change this file, Gorm maintains it";
FirstResponder = { FirstResponder = {
Actions = ( Actions = (
"capitalizeWord:",
"changeFont:",
"delete:",
"deleteWordBackward:",
"loosenKerning:",
"moveDown:",
"moveToBeginningOfParagraph:",
"moveWordForward:",
"orderFrontDataLinkPanel:",
"orderFrontFontPanel:", "orderFrontFontPanel:",
"pasteAsPlainText:",
"raiseBaseline:",
"scrollLineDown:",
"selectParagraph:",
"showWindow:",
"takeObjectValueFrom:",
"toggleTraditionalCharacterShape:",
"unscript:",
"setObject:", "setObject:",
"updateMenuType:", "updateMenuType:",
"updateAutoenable:" "updateAutoenable:"

View file

@ -39,11 +39,9 @@
@implementation GormMenuAttributesInspector @implementation GormMenuAttributesInspector
- (void) controlTextDidEndEditing: (NSNotification*)aNotification - (void)controlTextDidChange:(NSNotification *)aNotification
{ {
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
[object setTitle: [titleText stringValue]]; [object setTitle: [titleText stringValue]];
[doc touch];
} }
- (id) init - (id) init
@ -163,7 +161,7 @@
@implementation GormMenuItemAttributesInspector @implementation GormMenuItemAttributesInspector
- (void) controlTextDidEndEditing: (NSNotification*)aNotification - (void)controlTextDidChange:(NSNotification *)aNotification
{ {
id o = [aNotification object]; id o = [aNotification object];
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument]; id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];

View file

@ -2,41 +2,7 @@
"## Comment" = "Do NOT change this file, Gorm maintains it"; "## Comment" = "Do NOT change this file, Gorm maintains it";
FirstResponder = { FirstResponder = {
Actions = ( Actions = (
"alignLeft:", "orderFrontFontPanel:"
"capitalizeWord:",
"changeFont:",
"copy:",
"delete:",
"deleteToBeginningOfParagraph:",
"deleteWordBackward:",
"fax:",
"loosenKerning:",
"miniaturize:",
"moveDown:",
"moveLeft:",
"moveToBeginningOfParagraph:",
"moveUp:",
"moveWordForward:",
"openDocument:",
"orderFrontDataLinkPanel:",
"orderFrontFontPanel:",
"orderOut:",
"pasteAsPlainText:",
"performClose:",
"raiseBaseline:",
"saveAllDocuments:",
"scrollLineDown:",
"scrollViaScroller:",
"selectParagraph:",
"selectWord:",
"showWindow:",
"swapWithMark:",
"takeObjectValueFrom:",
"toggle:",
"toggleTraditionalCharacterShape:",
"turnOffLigatures:",
"unscript:",
"useStandardLigatures:"
); );
Super = NSObject; Super = NSObject;
}; };