Added additinal URL placehodlers. Moved breadcrum to KPKGroup

This commit is contained in:
michael starke
2014-08-10 20:25:59 +02:00
parent b2adf2b78e
commit 199b6bbcd2
2 changed files with 2 additions and 14 deletions

View File

@@ -21,18 +21,6 @@ NSString *const kMPTitleCell = @"TitleCell";
NSString *const kMPIsDefaultCell = @"IsDefaultCell"; NSString *const kMPIsDefaultCell = @"IsDefaultCell";
NSString *const kMPIconCell = @"IconCell"; NSString *const kMPIconCell = @"IconCell";
/* Helper Categries */
@implementation KPKGroup (MPFixAutotypeWindowControllerBreadCrumb)
- (NSString *)breadcrumb {
if(self.parent) {
return [[self.parent breadcrumb] stringByAppendingFormat:@" > %@", self.name];
}
return self.name;
}
@end
@implementation KPKWindowAssociation (MPFixAutotypeWindowControllerQualifedName) @implementation KPKWindowAssociation (MPFixAutotypeWindowControllerQualifedName)
@@ -133,7 +121,7 @@ NSString *const kMPIconCell = @"IconCell";
return entry.title; return entry.title;
} }
if(group) { if(group) {
return [group breadcrumb]; return [group breadcrumbWithSeparator:@" > "];
} }
return [association qualifedName]; return [association qualifedName];
} }