From 1d9b7688f4498a2d95743c1259bbdae7aa88f885 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 10 Jun 2008 12:35:14 -0400 Subject: [PATCH] Hooking up a NSArrayController to manage the breakpoints * English.lproj/Breakpoints.xib * Source/BreakpointWindowController.h: Add an ivar for the NSAC --- English.lproj/Breakpoints.xib | 96 ++++++++++++++++++++++++++++- Source/BreakpointWindowController.h | 1 + 2 files changed, 94 insertions(+), 3 deletions(-) diff --git a/English.lproj/Breakpoints.xib b/English.lproj/Breakpoints.xib index 3c68270..fa608d0 100644 --- a/English.lproj/Breakpoints.xib +++ b/English.lproj/Breakpoints.xib @@ -8,7 +8,7 @@ 352.00 YES - + YES @@ -314,6 +314,21 @@ {{0, 0}, {1680, 1028}} {3.40282e+38, 3.40282e+38} + + + YES + file + line + + Breakpoint + YES + + YES + YES + YES + YES + YES + @@ -342,6 +357,70 @@ 27 + + + contentArray: manager.breakpoints + + + + + + contentArray: manager.breakpoints + contentArray + manager.breakpoints + 2 + + + 30 + + + + content + + + + 34 + + + + arrayController + + + + 35 + + + + value: arrangedObjects.file + + + + + + value: arrangedObjects.file + value + arrangedObjects.file + 2 + + + 37 + + + + value: arrangedObjects.line + + + + + + value: arrangedObjects.line + value + arrangedObjects.line + 2 + + + 39 + @@ -413,9 +492,9 @@ YES - + @@ -512,6 +591,11 @@ + + 28 + + + @@ -541,6 +625,7 @@ 20.IBPluginDependency 23.IBPluginDependency 24.IBPluginDependency + 28.IBPluginDependency 3.CustomClassName 3.IBPluginDependency 4.IBPluginDependency @@ -571,6 +656,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin BSSplitView com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -597,7 +683,7 @@ - 27 + 39 @@ -638,6 +724,10 @@ id + + arrayController + NSArrayController + IBProjectSource Source/BreakpointWindowController.h diff --git a/Source/BreakpointWindowController.h b/Source/BreakpointWindowController.h index c75a4eb..8c42617 100644 --- a/Source/BreakpointWindowController.h +++ b/Source/BreakpointWindowController.h @@ -20,6 +20,7 @@ @interface BreakpointWindowController : NSWindowController { BreakpointManager *manager; + IBOutlet NSArrayController *arrayController; } - (IBAction)addBreakpoint:(id)sender; -- 2.43.5