mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	se cocoa: pushed DetailsPanel common code down to dgbase.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4054
This commit is contained in:
		
							parent
							
								
									308ab0cd52
								
							
						
					
					
						commit
						1bffe03616
					
				| @ -1,13 +1,5 @@ | ||||
| #import <Cocoa/Cocoa.h> | ||||
| #import "cocoalib/PyApp.h" | ||||
| #import "cocoalib/Table.h" | ||||
| #import "dgbase/DetailsPanel.h" | ||||
| 
 | ||||
| 
 | ||||
| @interface DetailsPanel : NSWindowController | ||||
| { | ||||
|     IBOutlet TableView *detailsTable; | ||||
| } | ||||
| - (id)initWithPy:(PyApp *)aPy; | ||||
| 
 | ||||
| - (void)refresh; | ||||
| @interface DetailsPanel : DetailsPanelBase | ||||
| @end | ||||
| @ -1,16 +1,4 @@ | ||||
| #import "DetailsPanel.h" | ||||
| 
 | ||||
| @implementation DetailsPanel | ||||
| - (id)initWithPy:(PyApp *)aPy | ||||
| { | ||||
|     self = [super initWithWindowNibName:@"Details"]; | ||||
|     [self window]; //So the detailsTable is initialized. | ||||
|     [detailsTable setPy:aPy]; | ||||
|     return self; | ||||
| } | ||||
| 
 | ||||
| - (void)refresh | ||||
| { | ||||
|     [detailsTable reloadData]; | ||||
| } | ||||
| @end | ||||
|  | ||||
| @ -27,6 +27,7 @@ | ||||
| 		CECA899D09DB132E00A3D774 /* DetailsPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = CECA899B09DB132E00A3D774 /* DetailsPanel.m */; }; | ||||
| 		CEDD92DA0FDD01640031C7B7 /* BRSingleLineFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = CEDD92D70FDD01640031C7B7 /* BRSingleLineFormatter.m */; }; | ||||
| 		CEDD92DB0FDD01640031C7B7 /* NSCharacterSet_Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = CEDD92D90FDD01640031C7B7 /* NSCharacterSet_Extensions.m */; }; | ||||
| 		CEE7EA130FE675C80004E467 /* DetailsPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = CEE7EA120FE675C80004E467 /* DetailsPanel.m */; }; | ||||
| 		CEEB135209C837A2004D2330 /* dupeguru.icns in Resources */ = {isa = PBXBuildFile; fileRef = CEEB135109C837A2004D2330 /* dupeguru.icns */; }; | ||||
| 		CEF7823809C8AA0200EF38FF /* gear.png in Resources */ = {isa = PBXBuildFile; fileRef = CEF7823709C8AA0200EF38FF /* gear.png */; }; | ||||
| 		CEFC294609C89E3D00D9F998 /* folder32.png in Resources */ = {isa = PBXBuildFile; fileRef = CEFC294509C89E3D00D9F998 /* folder32.png */; }; | ||||
| @ -95,6 +96,8 @@ | ||||
| 		CEDD92D70FDD01640031C7B7 /* BRSingleLineFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BRSingleLineFormatter.m; path = cocoalib/brsinglelineformatter/BRSingleLineFormatter.m; sourceTree = SOURCE_ROOT; }; | ||||
| 		CEDD92D80FDD01640031C7B7 /* NSCharacterSet_Extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NSCharacterSet_Extensions.h; path = cocoalib/brsinglelineformatter/NSCharacterSet_Extensions.h; sourceTree = SOURCE_ROOT; }; | ||||
| 		CEDD92D90FDD01640031C7B7 /* NSCharacterSet_Extensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = NSCharacterSet_Extensions.m; path = cocoalib/brsinglelineformatter/NSCharacterSet_Extensions.m; sourceTree = SOURCE_ROOT; }; | ||||
| 		CEE7EA110FE675C80004E467 /* DetailsPanel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DetailsPanel.h; path = dgbase/DetailsPanel.h; sourceTree = SOURCE_ROOT; }; | ||||
| 		CEE7EA120FE675C80004E467 /* DetailsPanel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DetailsPanel.m; path = dgbase/DetailsPanel.m; sourceTree = SOURCE_ROOT; }; | ||||
| 		CEEB135109C837A2004D2330 /* dupeguru.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = dupeguru.icns; sourceTree = "<group>"; }; | ||||
| 		CEF7823709C8AA0200EF38FF /* gear.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = gear.png; path = images/gear.png; sourceTree = "<group>"; }; | ||||
| 		CEFC294509C89E3D00D9F998 /* folder32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = folder32.png; path = images/folder32.png; sourceTree = SOURCE_ROOT; }; | ||||
| @ -302,6 +305,8 @@ | ||||
| 				CEFC7FB10FC951A700CD5728 /* AppDelegate.h */, | ||||
| 				CEFC7FB20FC951A700CD5728 /* AppDelegate.m */, | ||||
| 				CEFC7FB30FC951A700CD5728 /* Consts.h */, | ||||
| 				CEE7EA110FE675C80004E467 /* DetailsPanel.h */, | ||||
| 				CEE7EA120FE675C80004E467 /* DetailsPanel.m */, | ||||
| 				CEFC7FB40FC951A700CD5728 /* DirectoryPanel.h */, | ||||
| 				CEFC7FB50FC951A700CD5728 /* DirectoryPanel.m */, | ||||
| 				CEFC7FB60FC951A700CD5728 /* PyDupeGuru.h */, | ||||
| @ -404,6 +409,7 @@ | ||||
| 				CEFC7FBB0FC951A700CD5728 /* ResultWindow.m in Sources */, | ||||
| 				CEDD92DA0FDD01640031C7B7 /* BRSingleLineFormatter.m in Sources */, | ||||
| 				CEDD92DB0FDD01640031C7B7 /* NSCharacterSet_Extensions.m in Sources */, | ||||
| 				CEE7EA130FE675C80004E467 /* DetailsPanel.m in Sources */, | ||||
| 			); | ||||
| 			runOnlyForDeploymentPostprocessing = 0; | ||||
| 		}; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user