This commit is contained in:
Gregory Casamento 2025-04-17 07:35:01 +00:00 committed by GitHub
commit 6ad5c638df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 98 additions and 2 deletions

View file

@ -0,0 +1,11 @@
{
"## Comment" = "Do NOT change this file, Gorm maintains it";
GormLayeredInspectorController = {
Actions = (
);
Outlets = (
"_tableView"
);
Super = NSViewController;
};
}

View file

@ -155,11 +155,13 @@ Gorm_LANGUAGES = \
Gorm_HEADERS = \
GormAppDelegate.h \
GormLanguageViewController.h
GormLanguageViewController.h \
GormLayeredInspectorController.h
Gorm_OBJC_FILES = \
GormAppDelegate.m \
GormLanguageViewController.m \
GormLayeredInspectorController.m \
main.m
-include GNUmakefile.preamble

View file

@ -0,0 +1,36 @@
/* GormLayeredInspectorController.h
*
* Copyright (C) 2025 Free Software Foundation, Inc.
*
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
* Date: 2025
*
* This file is part of GNUstep.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
#ifndef GormLayeredInspectorController_H_INCLUDE
#define GormLayeredInspectorController_H_INCLUDE
#import <AppKit/NSViewController.h>
@interface GormLayeredInspectorController : NSViewController
{
IBOutlet id _tableView;
}
@end
#endif // GormLayeredInspectorController_H_INCLUDE

View file

@ -0,0 +1,46 @@
/* GormLayeredInspectorController.h
*
* Copyright (C) 2025 Free Software Foundation, Inc.
*
* Author: Gregory John Casamento <greg.casamento@gmail.com>
* Date: 2025
*
* This file is part of GNUstep.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
#import <AppKit/NSTableView.h>
#import "GormLayeredInspectorController.h"
@implementation GormLayeredInspectorController
// Data source
- (NSInteger) numberOfRowsInTableView: (NSTableView *)tableView
{
return 0; // get all inspectors for the selection...
}
// Delegate
- (NSView *) tableView: (NSTableView *)tableView
viewForTableColumn: (NSTableColumn *)tableColumn
row: (NSInteger)row
{
return nil; // given the class and all subclasses, find all inspectors...
}
@end

View file

@ -16,7 +16,8 @@
columnSelectionSwitch,
drawgridSwitch,
resizingSwitch,
reorderingSwitch
reorderingSwitch,
viewBased
);
Super = IBInspector;
};