mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 06:20:47 +00:00
Merge c7937f158b
into 1798e879b2
This commit is contained in:
commit
6ad5c638df
9 changed files with 98 additions and 2 deletions
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
GormLayeredInspectorController = {
|
||||
Actions = (
|
||||
);
|
||||
Outlets = (
|
||||
"_tableView"
|
||||
);
|
||||
Super = NSViewController;
|
||||
};
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -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
|
||||
|
|
36
Applications/Gorm/GormLayeredInspectorController.h
Normal file
36
Applications/Gorm/GormLayeredInspectorController.h
Normal 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
|
46
Applications/Gorm/GormLayeredInspectorController.m
Normal file
46
Applications/Gorm/GormLayeredInspectorController.m
Normal 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
|
|
@ -16,7 +16,8 @@
|
|||
columnSelectionSwitch,
|
||||
drawgridSwitch,
|
||||
resizingSwitch,
|
||||
reorderingSwitch
|
||||
reorderingSwitch,
|
||||
viewBased
|
||||
);
|
||||
Super = IBInspector;
|
||||
};
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue