From cd0ce3240dffeadab249944519ffdf3d9837009a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 11 Aug 2007 16:21:03 -0700 Subject: [PATCH] Renaming the "Refresh" butto to be "Re-Connect" and hooking it up (though it does nothing at the moment) * English.lproj/Debugger.nib: Renaming the "Run" button and hooking it up to DebuggerWindowController * Source/DebuggerWindowController.m|h: Adding a _reconnectButton outlet and a reconnect: action ([DebuggerWindowController reconnect:]): New method --- English.lproj/Debugger.nib/classes.nib | 3 ++- English.lproj/Debugger.nib/keyedobjects.nib | Bin 16826 -> 16996 bytes Source/DebuggerWindowController.h | 2 ++ Source/DebuggerWindowController.m | 13 +++++++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/English.lproj/Debugger.nib/classes.nib b/English.lproj/Debugger.nib/classes.nib index 568b744..3f5d4fa 100644 --- a/English.lproj/Debugger.nib/classes.nib +++ b/English.lproj/Debugger.nib/classes.nib @@ -1,11 +1,12 @@ { IBClasses = ( { - ACTIONS = {run = id; stepIn = id; stepOut = id; stepOver = id; }; + ACTIONS = {reconnect = id; run = id; stepIn = id; stepOut = id; stepOver = id; }; CLASS = DebuggerWindowController; LANGUAGE = ObjC; OUTLETS = { "_error" = NSTextField; + "_reconnectButton" = NSButton; "_registerController" = NSTreeController; "_registerView" = NSOutlineView; "_runButton" = NSButton; diff --git a/English.lproj/Debugger.nib/keyedobjects.nib b/English.lproj/Debugger.nib/keyedobjects.nib index 4da3cc61873392b8ec73848edff28a25b4ea58ff..a031f086720c4e93b09fc382a7f3c63a9247b1ec 100644 GIT binary patch delta 6240 zcmZWr2Y?er7tZEpHp!)JdQUcG)5~Ue>HR>Y9!T%)I1zz6xIz&zyL6Bqj^2-6JdoZ& z!GgblhzKHx4G)keA{LN;a;Mm`m(1;aQ{MaD_h#OK3D`Fiu{ndW)jM83ilyp^^wG%y{!4rYLvU>2AS=7Ka>1QvrOU@2Gu)`9h41K0>E zP`e%M0Q*q89~=P3QTrBn8@vbJ2dBXq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#j#a8@~MoRgeMC+D2(oZ+11-0a-ye8IWH zxyxDa-0M8)9$72|Nnq=l$4w#rvuEGw*fp4ewXpuf5-T zZ+n06-u2%1KJflQVk97iq=b}{1gRnQq=~eW4$@7MWPl8j&B;8n3)zS4M-CtdkwcPX z30XnbkPFE*WIef;+)o}L50NLx_sH|)`{ak@N93pE9r8!=E_sjqh5W-O^eKEkUsK;x zzUICxUrS#*Uy-lOH_x}+x6)VVTkTupTj$&0d(C&%5Bx5F3x5y)aDRnA<)7@I;-BiD z=AZ7L>7VVNpYWgYzwQ6Pf6M=a|0nfluLM31+zettd(av51bx9^FdU2q z3xXqqGlH{%bAtW1 ze~1ZUFeZvgVzQVy7LG+@bc~55VmYzyvBG4mcdT!$e{4joCRQ7p6ysu(V@qP2Vq0P_ z#CF7X#g4|_j-8F2i(QC)5W7klDKllI?39yoQ(nqP1*i}ep<)zGF;s$TLS<6Ts20@I zR5sO`YD48x?Wqn_K2<<r!};WHqa*8LfdEu?V>$2N&D#_9j2o+ zMaOBD&Y+vpPtnckEIOOcq4VildJ>(Yr_wX%+4MYmA)Tg|(JSfa=r#0udK0~s-cIjI z(tGIr^g;SCeT+Uqze8W9zozfg5989fEgp&|;;rKa@qY2)@#^@T_>%b2_=@rLGeIWI#F#jfV45;dG0mAQrX|yg$zj?u?U@ctN2Y-3!gObPGQF9;On+t& zGlVH-Mld6p(aad8f=N~}06Um1Vu!OM+0pD6 zwvrvk*09gANp>~?k+yNBJ+9%K)*$Ji6> zDfU(Nb@naxEc+gNo_(MFko}0g%znaNWv{WHvtO`ZvNzdp*jwyv_73|adzZb({=zyp&;I~{`P^Rs diff --git a/Source/DebuggerWindowController.h b/Source/DebuggerWindowController.h index 7e6c601..9cef6d8 100644 --- a/Source/DebuggerWindowController.h +++ b/Source/DebuggerWindowController.h @@ -39,6 +39,7 @@ IBOutlet NSButton *_stepOutButton; IBOutlet NSButton *_stepOverButton; IBOutlet NSButton *_runButton; + IBOutlet NSButton *_reconnectButton; } - (id)initWithConnection: (DebuggerConnection *)cnx; @@ -54,5 +55,6 @@ - (IBAction)stepIn: (id)sender; - (IBAction)stepOut: (id)sender; - (IBAction)stepOver: (id)sender; +- (IBAction)reconnect: (id)sender; @end diff --git a/Source/DebuggerWindowController.m b/Source/DebuggerWindowController.m index 08a9529..f649f19 100644 --- a/Source/DebuggerWindowController.m +++ b/Source/DebuggerWindowController.m @@ -85,6 +85,7 @@ [_stepOutButton setEnabled: NO]; [_stepOverButton setEnabled: NO]; [_runButton setEnabled: NO]; + [_reconnectButton setEnabled: NO]; if ([_connection isConnected]) { @@ -94,6 +95,10 @@ [_runButton setEnabled: YES]; } } + else + { + [_reconnectButton setEnabled: YES]; + } } /** @@ -169,6 +174,14 @@ [_connection run]; } +/** + * Tells the connection to ask the server to reconnect + */ +- (IBAction)reconnect: (id)sender +{ + +} + /** * Forwards the message to "step in" to the connection */ -- 2.43.5