| Line | |
|---|
| 1 | //
|
|---|
| 2 | // LispIntegration.m
|
|---|
| 3 | // LispControllerPlugin
|
|---|
| 4 | //
|
|---|
| 5 | // Created by Paul Krueger on 2/8/10.
|
|---|
| 6 | // Copyright 2010. All rights reserved.
|
|---|
| 7 | //
|
|---|
| 8 |
|
|---|
| 9 | #import <InterfaceBuilderKit/InterfaceBuilderKit.h>
|
|---|
| 10 | #import <LispControllerInspector.h>
|
|---|
| 11 | #import <LispController.h>
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | @implementation LispController ( LispController )
|
|---|
| 15 |
|
|---|
| 16 | - (void)ibPopulateKeyPaths:(NSMutableDictionary *)keyPaths {
|
|---|
| 17 | [super ibPopulateKeyPaths:keyPaths];
|
|---|
| 18 |
|
|---|
| 19 | // KVC-compliant properties.
|
|---|
| 20 | [[keyPaths objectForKey:IBAttributeKeyPaths] addObjectsFromArray:[NSArray arrayWithObjects:
|
|---|
| 21 | @"rootType",
|
|---|
| 22 | @"readerFunc",
|
|---|
| 23 | @"writerFunc",
|
|---|
| 24 | @"countFunc",
|
|---|
| 25 | @"selectFunc",
|
|---|
| 26 | @"editedFunc",
|
|---|
| 27 | @"addedFunc",
|
|---|
| 28 | @"insertFunc",
|
|---|
| 29 | @"deleteFunc",
|
|---|
| 30 | @"addChildFunc",
|
|---|
| 31 | @"childrenFunc",
|
|---|
| 32 | @"maxDepth",
|
|---|
| 33 | @"genRoot",
|
|---|
| 34 | nil]];
|
|---|
| 35 | /*
|
|---|
| 36 | [[keyPaths objectForKey:IBToManyRelationshipKeyPaths] addObjectsFromArray:[NSArray arrayWithObjects:
|
|---|
| 37 | @"typeInfo",
|
|---|
| 38 | @"initforms",
|
|---|
| 39 | @"sortInfo",
|
|---|
| 40 | nil]];
|
|---|
| 41 | */
|
|---|
| 42 | }
|
|---|
| 43 |
|
|---|
| 44 | - (void)ibPopulateAttributeInspectorClasses:(NSMutableArray *)classes {
|
|---|
| 45 | [super ibPopulateAttributeInspectorClasses:classes];
|
|---|
| 46 | [classes addObject:[LispControllerInspector class]];
|
|---|
| 47 | }
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | @end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.