From 919aa94e24af91cb10d7d87c7bc6b32ead1cdceb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 10 Jun 2008 12:11:21 -0400 Subject: [PATCH] Adding IBAs to Breakpoints.xib and the BWC * English.lproj/Breakpoints.xib: Adding actions for the +/- buttons * Source/BreakpointWindowController.m+h: Adding the code complements for the IBAs --- English.lproj/Breakpoints.xib | 47 +++++++++++++++++++++++------ Source/BreakpointWindowController.h | 3 ++ Source/BreakpointWindowController.m | 18 +++++++++++ 3 files changed, 59 insertions(+), 9 deletions(-) diff --git a/English.lproj/Breakpoints.xib b/English.lproj/Breakpoints.xib index 817ff76..3c68270 100644 --- a/English.lproj/Breakpoints.xib +++ b/English.lproj/Breakpoints.xib @@ -8,7 +8,7 @@ 352.00 YES - + YES @@ -89,13 +89,13 @@ YES - 1.010000e+02 + 4.400000e+02 4.000000e+01 1.000000e+03 75628032 0 - + File LucidaGrande 1.100000e+01 @@ -147,13 +147,13 @@ - 4.500000e+02 + 1.110000e+02 4.000000e+01 1.000000e+03 75628032 0 - + Line @@ -189,8 +189,8 @@ 1.700000e+01 - -700448768 - 4 + -700416000 + 1 15 0 YES @@ -221,7 +221,7 @@ 1 _doScroller: - 5.714286e-01 + 9.982079e-01 @@ -326,6 +326,22 @@ 25 + + + addBreakpoint: + + + + 26 + + + + removeBreakpoint: + + + + 27 + @@ -581,7 +597,7 @@ - 25 + 27 @@ -609,6 +625,19 @@ BreakpointWindowController NSWindowController + + YES + + YES + addBreakpoint: + removeBreakpoint: + + + YES + id + id + + IBProjectSource Source/BreakpointWindowController.h diff --git a/Source/BreakpointWindowController.h b/Source/BreakpointWindowController.h index c800730..c75a4eb 100644 --- a/Source/BreakpointWindowController.h +++ b/Source/BreakpointWindowController.h @@ -22,4 +22,7 @@ BreakpointManager *manager; } +- (IBAction)addBreakpoint:(id)sender; +- (IBAction)removeBreakpoint:(id)sender; + @end diff --git a/Source/BreakpointWindowController.m b/Source/BreakpointWindowController.m index 74c09be..71261e8 100644 --- a/Source/BreakpointWindowController.m +++ b/Source/BreakpointWindowController.m @@ -31,4 +31,22 @@ return self; } + +/** + * Adds a breakpoint by calling up a file chooser and selecting a file for + * breaking in + */ +- (IBAction)addBreakpoint:(id)sender +{ + +} + +/** + * Removes a breakpoint + */ +- (IBAction)removeBreakpoint:(id)sender +{ + +} + @end -- 2.43.5