mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 06:20:47 +00:00
Add bindings inspector to object editor so that it can be brought up when needed
This commit is contained in:
parent
2cad4a3236
commit
c84557c823
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -86,6 +86,11 @@
|
|||
{
|
||||
return @"GormObjectEditor";
|
||||
}
|
||||
|
||||
- (NSString*) bindingsInspectorClassName
|
||||
{
|
||||
return @"GormBindingsInspector";
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation NSView (GormObjectAdditions)
|
||||
|
|
Loading…
Reference in a new issue