[52633] branches/gsoc09-gui/MPGUI

juanger at macports.org juanger at macports.org
Fri Jun 19 20:17:55 PDT 2009


Revision: 52633
          http://trac.macports.org/changeset/52633
Author:   juanger at macports.org
Date:     2009-06-19 20:17:53 -0700 (Fri, 19 Jun 2009)
Log Message:
-----------
Install and Uninstall actions implemented. All the actions will be managed from the MPActionsController.

Modified Paths:
--------------
    branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib
    branches/gsoc09-gui/MPGUI/MPActionLauncher.h
    branches/gsoc09-gui/MPGUI/MPActionLauncher.m
    branches/gsoc09-gui/MPGUI/MPGUI.xcodeproj/project.pbxproj
    branches/gsoc09-gui/MPGUI/PortsTableController.h

Added Paths:
-----------
    branches/gsoc09-gui/MPGUI/MPActionsController.h
    branches/gsoc09-gui/MPGUI/MPActionsController.m

Modified: branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib
===================================================================
--- branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib	2009-06-20 02:53:35 UTC (rev 52632)
+++ branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib	2009-06-20 03:17:53 UTC (rev 52633)
@@ -8,7 +8,8 @@
 		<string key="IBDocument.HIToolboxVersion">353.00</string>
 		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
 			<bool key="EncodedWithXMLCoder">YES</bool>
-			<integer value="400"/>
+			<integer value="435"/>
+			<integer value="420"/>
 		</object>
 		<object class="NSArray" key="IBDocument.PluginDependencies">
 			<bool key="EncodedWithXMLCoder">YES</bool>
@@ -784,6 +785,8 @@
 						<object class="NSMutableArray" key="dict.sortedKeys">
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<string>325B7D9A-C8C9-4EC3-9D84-92D792696EBE</string>
+							<string>38B3CC5A-730B-4ECF-B057-8254756EF49D</string>
+							<string>586197FD-62CF-4D3E-AE67-9A57601D5B27</string>
 							<string>NSToolbarFlexibleSpaceItem</string>
 							<string>NSToolbarSeparatorItem</string>
 							<string>NSToolbarSpaceItem</string>
@@ -798,9 +801,10 @@
 								<string key="NSToolbarItemPaletteLabel">Search</string>
 								<nil key="NSToolbarItemToolTip"/>
 								<object class="NSSearchField" key="NSToolbarItemView" id="848482443">
-									<nil key="NSNextResponder"/>
+									<reference key="NSNextResponder"/>
 									<int key="NSvFlags">268</int>
 									<string key="NSFrame">{{0, 14}, {133, 22}}</string>
+									<reference key="NSSuperview"/>
 									<bool key="NSEnabled">YES</bool>
 									<object class="NSSearchFieldCell" key="NSCell" id="618193001">
 										<int key="NSCellFlags">343014976</int>
@@ -888,6 +892,50 @@
 								<bool key="NSToolbarIsUserRemovable">YES</bool>
 								<int key="NSToolbarItemVisibilityPriority">0</int>
 							</object>
+							<object class="NSToolbarItem" id="650498606">
+								<object class="NSMutableString" key="NSToolbarItemIdentifier">
+									<characters key="NS.bytes">38B3CC5A-730B-4ECF-B057-8254756EF49D</characters>
+								</object>
+								<string key="NSToolbarItemLabel">Install</string>
+								<string key="NSToolbarItemPaletteLabel">Install</string>
+								<string key="NSToolbarItemToolTip"/>
+								<nil key="NSToolbarItemView"/>
+								<object class="NSCustomResource" key="NSToolbarItemImage">
+									<string key="NSClassName">NSImage</string>
+									<string key="NSResourceName">NSAddTemplate</string>
+								</object>
+								<nil key="NSToolbarItemTarget"/>
+								<nil key="NSToolbarItemAction"/>
+								<string key="NSToolbarItemMinSize">{0, 0}</string>
+								<string key="NSToolbarItemMaxSize">{0, 0}</string>
+								<bool key="NSToolbarItemEnabled">YES</bool>
+								<bool key="NSToolbarItemAutovalidates">YES</bool>
+								<int key="NSToolbarItemTag">-1</int>
+								<bool key="NSToolbarIsUserRemovable">YES</bool>
+								<int key="NSToolbarItemVisibilityPriority">0</int>
+							</object>
+							<object class="NSToolbarItem" id="244855577">
+								<object class="NSMutableString" key="NSToolbarItemIdentifier">
+									<characters key="NS.bytes">586197FD-62CF-4D3E-AE67-9A57601D5B27</characters>
+								</object>
+								<string key="NSToolbarItemLabel">Uninstall</string>
+								<string key="NSToolbarItemPaletteLabel">Uninstall</string>
+								<string key="NSToolbarItemToolTip"/>
+								<nil key="NSToolbarItemView"/>
+								<object class="NSCustomResource" key="NSToolbarItemImage">
+									<string key="NSClassName">NSImage</string>
+									<string key="NSResourceName">NSRemoveTemplate</string>
+								</object>
+								<nil key="NSToolbarItemTarget"/>
+								<nil key="NSToolbarItemAction"/>
+								<string key="NSToolbarItemMinSize">{0, 0}</string>
+								<string key="NSToolbarItemMaxSize">{0, 0}</string>
+								<bool key="NSToolbarItemEnabled">YES</bool>
+								<bool key="NSToolbarItemAutovalidates">YES</bool>
+								<int key="NSToolbarItemTag">-1</int>
+								<bool key="NSToolbarIsUserRemovable">YES</bool>
+								<int key="NSToolbarItemVisibilityPriority">0</int>
+							</object>
 							<object class="NSToolbarFlexibleSpaceItem" id="49194268">
 								<string key="NSToolbarItemIdentifier">NSToolbarFlexibleSpaceItem</string>
 								<string key="NSToolbarItemLabel"/>
@@ -973,6 +1021,8 @@
 					</object>
 					<object class="NSArray" key="NSToolbarIBAllowedItems">
 						<bool key="EncodedWithXMLCoder">YES</bool>
+						<reference ref="650498606"/>
+						<reference ref="244855577"/>
 						<reference ref="341138360"/>
 						<reference ref="869476631"/>
 						<reference ref="49194268"/>
@@ -980,6 +1030,9 @@
 					</object>
 					<object class="NSMutableArray" key="NSToolbarIBDefaultItems">
 						<bool key="EncodedWithXMLCoder">YES</bool>
+						<reference ref="650498606"/>
+						<reference ref="244855577"/>
+						<reference ref="341138360"/>
 						<reference ref="49194268"/>
 						<reference ref="618891101"/>
 					</object>
@@ -1883,7 +1936,7 @@
 																				<reference ref="385089462"/>
 																			</object>
 																		</object>
-																		<object class="NSMutableDictionary" id="445352329">
+																		<object class="NSMutableDictionary" id="631904768">
 																			<bool key="EncodedWithXMLCoder">YES</bool>
 																			<object class="NSMutableArray" key="dict.sortedKeys">
 																				<bool key="EncodedWithXMLCoder">YES</bool>
@@ -2009,7 +2062,7 @@
 																					<bool key="EncodedWithXMLCoder">YES</bool>
 																					<reference ref="833924481"/>
 																					<reference ref="328879136"/>
-																					<reference ref="445352329"/>
+																					<reference ref="631904768"/>
 																				</object>
 																				<object class="NSMutableArray">
 																					<bool key="EncodedWithXMLCoder">YES</bool>
@@ -2360,9 +2413,8 @@
 										<object class="NSTableView" id="238622922">
 											<reference key="NSNextResponder" ref="340647127"/>
 											<int key="NSvFlags">256</int>
-											<string key="NSFrameSize">{246, 332}</string>
+											<string key="NSFrameSize">{246, 331}</string>
 											<reference key="NSSuperview" ref="340647127"/>
-											<reference key="NSWindow"/>
 											<bool key="NSEnabled">YES</bool>
 											<object class="_NSCornerView" key="NSCornerView">
 												<nil key="NSNextResponder"/>
@@ -2465,9 +2517,9 @@
 											<bool key="NSAllowsTypeSelect">YES</bool>
 										</object>
 									</object>
-									<string key="NSFrame">{{1, 0}, {246, 332}}</string>
+									<string key="NSFrame">{{1, 1}, {246, 331}}</string>
 									<reference key="NSSuperview" ref="199390391"/>
-									<reference key="NSWindow"/>
+									<reference key="NSNextKeyView" ref="238622922"/>
 									<reference key="NSDocView" ref="238622922"/>
 									<reference key="NSBGColor" ref="800202432"/>
 									<int key="NScvFlags">4</int>
@@ -2475,9 +2527,8 @@
 								<object class="NSScroller" id="482661369">
 									<reference key="NSNextResponder" ref="199390391"/>
 									<int key="NSvFlags">256</int>
-									<string key="NSFrame">{{247, 0}, {15, 332}}</string>
+									<string key="NSFrame">{{247, 1}, {15, 331}}</string>
 									<reference key="NSSuperview" ref="199390391"/>
-									<reference key="NSWindow"/>
 									<reference key="NSTarget" ref="199390391"/>
 									<string key="NSAction">_doScroller:</string>
 									<double key="NSPercent">9.969970e-01</double>
@@ -2487,7 +2538,6 @@
 									<int key="NSvFlags">256</int>
 									<string key="NSFrame">{{1, 332}, {246, 15}}</string>
 									<reference key="NSSuperview" ref="199390391"/>
-									<reference key="NSWindow"/>
 									<int key="NSsFlags">1</int>
 									<reference key="NSTarget" ref="199390391"/>
 									<string key="NSAction">_doScroller:</string>
@@ -2496,7 +2546,7 @@
 							</object>
 							<string key="NSFrame">{{6, 26}, {263, 348}}</string>
 							<reference key="NSSuperview" ref="187671130"/>
-							<reference key="NSWindow"/>
+							<reference key="NSNextKeyView" ref="340647127"/>
 							<int key="NSsFlags">50</int>
 							<reference key="NSVScroller" ref="482661369"/>
 							<reference key="NSHScroller" ref="400167025"/>
@@ -2506,7 +2556,6 @@
 					</object>
 					<string key="NSFrameSize">{276, 378}</string>
 					<reference key="NSSuperview"/>
-					<reference key="NSWindow"/>
 				</object>
 				<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
 				<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
@@ -2539,6 +2588,9 @@
 			<object class="NSCustomObject" id="1022824499">
 				<string key="NSClassName">MPActionLauncher</string>
 			</object>
+			<object class="NSCustomObject" id="800227439">
+				<string key="NSClassName">MPActionsController</string>
+			</object>
 		</object>
 		<object class="IBObjectContainer" key="IBDocument.Objects">
 			<object class="NSMutableArray" key="connectionRecords">
@@ -3056,6 +3108,30 @@
 					</object>
 					<int key="connectionID">571</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">install:</string>
+						<reference key="source" ref="800227439"/>
+						<reference key="destination" ref="650498606"/>
+					</object>
+					<int key="connectionID">629</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBOutletConnection" key="connection">
+						<string key="label">ports</string>
+						<reference key="source" ref="800227439"/>
+						<reference key="destination" ref="341892693"/>
+					</object>
+					<int key="connectionID">630</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBActionConnection" key="connection">
+						<string key="label">uninstall:</string>
+						<reference key="source" ref="800227439"/>
+						<reference key="destination" ref="244855577"/>
+					</object>
+					<int key="connectionID">632</int>
+				</object>
 			</object>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<object class="NSArray" key="orderedObjects">
@@ -3685,6 +3761,8 @@
 							<reference ref="869476631"/>
 							<reference ref="49194268"/>
 							<reference ref="618891101"/>
+							<reference ref="650498606"/>
+							<reference ref="244855577"/>
 						</object>
 						<reference key="parent" ref="972006081"/>
 					</object>
@@ -4160,6 +4238,21 @@
 						<reference key="parent" ref="1049"/>
 						<string key="objectName">ActionLauncher</string>
 					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">627</int>
+						<reference key="object" ref="650498606"/>
+						<reference key="parent" ref="978062640"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">628</int>
+						<reference key="object" ref="800227439"/>
+						<reference key="parent" ref="1049"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">631</int>
+						<reference key="object" ref="244855577"/>
+						<reference key="parent" ref="978062640"/>
+					</object>
 				</object>
 			</object>
 			<object class="NSMutableDictionary" key="flattenedProperties">
@@ -4389,6 +4482,9 @@
 					<string>620.IBPluginDependency</string>
 					<string>621.IBPluginDependency</string>
 					<string>624.IBPluginDependency</string>
+					<string>627.IBPluginDependency</string>
+					<string>628.IBPluginDependency</string>
+					<string>631.IBPluginDependency</string>
 					<string>72.IBPluginDependency</string>
 					<string>72.ImportedFromIB2</string>
 					<string>73.IBPluginDependency</string>
@@ -4554,9 +4650,9 @@
 					<reference ref="9"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
-					<string>{{20, 222}, {773, 449}}</string>
+					<string>{{51, 252}, {773, 449}}</string>
 					<reference ref="6"/>
-					<string>{{20, 222}, {773, 449}}</string>
+					<string>{{51, 252}, {773, 449}}</string>
 					<reference ref="9"/>
 					<string>{{33, 99}, {480, 360}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -4587,7 +4683,7 @@
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-					<string>{{98, 671}, {617, 0}}</string>
+					<string>{{129, 532}, {617, 169}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -4641,6 +4737,9 @@
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<reference ref="9"/>
@@ -4687,7 +4786,7 @@
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">626</int>
+			<int key="maxID">632</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -4701,6 +4800,31 @@
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
+					<string key="className">MPActionsController</string>
+					<string key="superclassName">NSObject</string>
+					<object class="NSMutableDictionary" key="actions">
+						<bool key="EncodedWithXMLCoder">YES</bool>
+						<object class="NSMutableArray" key="dict.sortedKeys">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>install:</string>
+							<string>uninstall:</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>id</string>
+							<string>id</string>
+						</object>
+					</object>
+					<object class="NSMutableDictionary" key="outlets">
+						<string key="NS.key.0">ports</string>
+						<string key="NS.object.0">NSArrayController</string>
+					</object>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">MPActionsController.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">PortsTableController</string>
 					<string key="superclassName">NSObject</string>
 					<object class="NSMutableDictionary" key="actions">

Modified: branches/gsoc09-gui/MPGUI/MPActionLauncher.h
===================================================================
--- branches/gsoc09-gui/MPGUI/MPActionLauncher.h	2009-06-20 02:53:35 UTC (rev 52632)
+++ branches/gsoc09-gui/MPGUI/MPActionLauncher.h	2009-06-20 03:17:53 UTC (rev 52633)
@@ -53,4 +53,10 @@
 */
 - (void)installPortInBackground:(MPPort *)port;
 
+/*!
+ @brief Uninstalls a single port in another thread
+ @param port MPPort that represents the port to install
+ */
+- (void)uninstallPortInBackground:(MPPort *)port;
+
 @end

Modified: branches/gsoc09-gui/MPGUI/MPActionLauncher.m
===================================================================
--- branches/gsoc09-gui/MPGUI/MPActionLauncher.m	2009-06-20 02:53:35 UTC (rev 52632)
+++ branches/gsoc09-gui/MPGUI/MPActionLauncher.m	2009-06-20 03:17:53 UTC (rev 52633)
@@ -15,6 +15,7 @@
 
 - (void)loadPorts;
 - (void)installPort:(MPPort *)port;
+- (void)uninstallPort:(MPPort *)port;
 
 @end
 
@@ -54,6 +55,10 @@
     [self performSelectorInBackground:@selector(installPort:) withObject:port];
 }
 
+- (void)uninstallPortInBackground:(MPPort *)port {
+    [self performSelectorInBackground:@selector(uninstallPort:) withObject:port];
+}
+
 #pragma mark Private Methods implementation
 
 - (void)loadPorts {
@@ -79,6 +84,13 @@
     NSError * error;
     NSArray *empty = [NSArray arrayWithObject: @""];
     [port installWithOptions:empty variants:empty error:&error];
+    [port setState:MPPortStateLearnState];
 }
 
+- (void)uninstallPort:(MPPort *)port {
+    NSError * error;
+    [port uninstallWithVersion:nil error:&error];
+    [port setState:MPPortStateLearnState];
+}
+
 @end

Added: branches/gsoc09-gui/MPGUI/MPActionsController.h
===================================================================
--- branches/gsoc09-gui/MPGUI/MPActionsController.h	                        (rev 0)
+++ branches/gsoc09-gui/MPGUI/MPActionsController.h	2009-06-20 03:17:53 UTC (rev 52633)
@@ -0,0 +1,20 @@
+//
+//  MPActionsController.h
+//  MPGUI
+//
+//  Created by Juan Germán Castañeda Echevarría on 6/19/09.
+//  Copyright 2009 UNAM. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import "MPActionLauncher.h"
+
+
+ at interface MPActionsController : NSObject {
+    IBOutlet NSArrayController *ports;
+}
+
+- (IBAction)install:(id)sender;
+- (IBAction)uninstall:(id)sender;
+
+ at end

Added: branches/gsoc09-gui/MPGUI/MPActionsController.m
===================================================================
--- branches/gsoc09-gui/MPGUI/MPActionsController.m	                        (rev 0)
+++ branches/gsoc09-gui/MPGUI/MPActionsController.m	2009-06-20 03:17:53 UTC (rev 52633)
@@ -0,0 +1,28 @@
+//
+//  MPActionsController.m
+//  MPGUI
+//
+//  Created by Juan Germán Castañeda Echevarría on 6/19/09.
+//  Copyright 2009 UNAM. All rights reserved.
+//
+
+#import "MPActionsController.h"
+
+
+ at implementation MPActionsController
+
+- (IBAction)install:(id)sender {
+    NSArray *selectedPorts = [ports selectedObjects];
+    for (id port in selectedPorts) {
+        [[MPActionLauncher sharedInstance] installPortInBackground:port];
+    }
+}
+
+- (IBAction)uninstall:(id)sender {
+    NSArray *selectedPorts = [ports selectedObjects];
+    for (id port in selectedPorts) {
+        [[MPActionLauncher sharedInstance] uninstallPortInBackground:port];
+    }
+}
+
+ at end

Modified: branches/gsoc09-gui/MPGUI/MPGUI.xcodeproj/project.pbxproj
===================================================================
--- branches/gsoc09-gui/MPGUI/MPGUI.xcodeproj/project.pbxproj	2009-06-20 02:53:35 UTC (rev 52632)
+++ branches/gsoc09-gui/MPGUI/MPGUI.xcodeproj/project.pbxproj	2009-06-20 03:17:53 UTC (rev 52633)
@@ -22,6 +22,7 @@
 
 /* Begin PBXBuildFile section */
 		1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; };
+		21351FB30FEC67780074ACFE /* MPActionsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 21351FB20FEC67780074ACFE /* MPActionsController.m */; };
 		214BAFE40FE7164200BD1B46 /* MPActionLauncher.m in Sources */ = {isa = PBXBuildFile; fileRef = 214BAFE30FE7164200BD1B46 /* MPActionLauncher.m */; };
 		21F166D80FE329A700542AEE /* MacPorts.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 21F165510FE2C04300542AEE /* MacPorts.framework */; };
 		21F166D90FE329AA00542AEE /* MacPorts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 21F165510FE2C04300542AEE /* MacPorts.framework */; };
@@ -98,6 +99,8 @@
 		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
 		13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
 		1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
+		21351FB10FEC67780074ACFE /* MPActionsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPActionsController.h; sourceTree = "<group>"; };
+		21351FB20FEC67780074ACFE /* MPActionsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPActionsController.m; sourceTree = "<group>"; };
 		214BAFE20FE7164200BD1B46 /* MPActionLauncher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPActionLauncher.h; sourceTree = "<group>"; };
 		214BAFE30FE7164200BD1B46 /* MPActionLauncher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPActionLauncher.m; sourceTree = "<group>"; wrapsLines = 0; };
 		21F165400FE2C04300542AEE /* MacPorts.Framework.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = MacPorts.Framework.xcodeproj; path = ../MacPorts_Framework/MacPorts.Framework.xcodeproj; sourceTree = SOURCE_ROOT; };
@@ -182,6 +185,8 @@
 			children = (
 				21F167580FE3382D00542AEE /* PortsTableController.h */,
 				21F167590FE3382D00542AEE /* PortsTableController.m */,
+				21351FB10FEC67780074ACFE /* MPActionsController.h */,
+				21351FB20FEC67780074ACFE /* MPActionsController.m */,
 			);
 			name = Controllers;
 			sourceTree = "<group>";
@@ -383,6 +388,7 @@
 				214BAFE40FE7164200BD1B46 /* MPActionLauncher.m in Sources */,
 				21FC226A0FE8895900B1E835 /* StateTransformer.m in Sources */,
 				21FC233B0FE8AB0400B1E835 /* StatePredicateTemplate.m in Sources */,
+				21351FB30FEC67780074ACFE /* MPActionsController.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

Modified: branches/gsoc09-gui/MPGUI/PortsTableController.h
===================================================================
--- branches/gsoc09-gui/MPGUI/PortsTableController.h	2009-06-20 02:53:35 UTC (rev 52632)
+++ branches/gsoc09-gui/MPGUI/PortsTableController.h	2009-06-20 03:17:53 UTC (rev 52633)
@@ -36,7 +36,7 @@
  @var predicate
  @abstract The NSPredicate which filters the ports table
 */
- at property (readonly, copy) NSPredicate *predicate;
+ at property (copy) NSPredicate *predicate;
 
 /*!
  @brief Creates a NSPredicate based in the rows of the NSPredicateEditor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090619/3886ce00/attachment-0001.html>


More information about the macports-changes mailing list