Add bindings inspector to object editor so that it can be brought up when needed

This commit is contained in:
Gregory John Casamento 2023-01-16 10:19:44 -05:00
parent 2cad4a3236
commit c84557c823
2 changed files with 12 additions and 0 deletions

View file

@ -244,6 +244,13 @@
localizedLabel: _(@"Custom Class")
inspectorClassName: [selectedObject classInspectorClassName]
ordering: 4.0];
// Bindings inspector...
[self addInspectorModeWithIdentifier: @"BindingsInspector"
forObject: selectedObject
localizedLabel: _(@"Bindings")
inspectorClassName: [selectedObject bindingsInspectorClassName]
ordering: 4.0];
}
- (void) _refreshPopUp

View file

@ -86,6 +86,11 @@
{
return @"GormObjectEditor";
}
- (NSString*) bindingsInspectorClassName
{
return @"GormBindingsInspector";
}
@end
@implementation NSView (GormObjectAdditions)