Add calls to the loaded bindings inspector

This commit is contained in:
Gregory John Casamento 2023-01-18 08:57:58 -05:00
parent 6df8b72a00
commit 81260e4084

View file

@ -97,16 +97,16 @@
if (![NSBundle loadNibNamed: inspectorName owner: _inspectorObject])
{
NSLog(@"Could not load inspector for binding %@", inspectorName);
return;
}
}
else
{
_inspectorObject = nil; // make certain this is nil, if load failed...
NSLog(@"Could not instantiate class for %@", inspectorName);
}
}
- (void) _populatePopUp: (NSArray *)array
- (void) _populate: (NSArray *)array
{
[_bindingsPopUp removeAllItems];
[_bindingsArray removeAllObjects];
@ -141,19 +141,22 @@
[super setObject: obj];
array = [[self object] exposedBindings];
[self _populatePopUp: array];
[self _populate: array];
[_inspectorObject setObject: obj];
NSLog(@"Bindings = %@, inspectors = %@", array, _bindingsArray);
}
- (void) ok: (id)sender
{
[super ok: sender];
[_inspectorObject ok: sender];
}
- (void) revert: (id)sender
{
[super revert: sender];
[_inspectorObject revert: sender];
}
- (IBAction) selectInspector: (id)sender