2003-06-06 06:24:46 +00:00
|
|
|
/** <title>GormClassInspector</title>
|
|
|
|
|
|
|
|
<abstract>allow user to select custom classes</abstract>
|
|
|
|
|
|
|
|
Copyright (C) 2002 Free Software Foundation, Inc.
|
|
|
|
Author: Gregory John Casamento <greg_casamento@yahoo.com>
|
|
|
|
Date: September 2002
|
|
|
|
|
|
|
|
This file is part of GNUstep.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Library General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
2007-11-05 23:44:36 +00:00
|
|
|
version 3 of the License, or (at your option) any later version.
|
2003-06-06 06:24:46 +00:00
|
|
|
|
|
|
|
This library 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
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
|
|
License along with this library; see the file COPYING.LIB.
|
|
|
|
If not, write to the Free Software Foundation,
|
|
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* All Rights reserved */
|
|
|
|
|
|
|
|
#include <AppKit/AppKit.h>
|
2019-11-03 01:57:39 +00:00
|
|
|
|
|
|
|
#include <InterfaceBuilder/InterfaceBuilder.h>
|
2003-06-06 06:24:46 +00:00
|
|
|
|
|
|
|
@class GormClassManager;
|
|
|
|
|
|
|
|
@interface GormClassInspector : IBInspector
|
|
|
|
{
|
|
|
|
// outlets
|
2023-12-15 09:14:27 +00:00
|
|
|
id _actionTable;
|
|
|
|
id _addAction;
|
|
|
|
id _addOutlet;
|
|
|
|
id _classField;
|
|
|
|
id _outletTable;
|
|
|
|
id _parentClass;
|
|
|
|
id _removeAction;
|
|
|
|
id _removeOutlet;
|
|
|
|
id _selectClass;
|
|
|
|
id _search;
|
|
|
|
id _searchText;
|
|
|
|
id _tabView;
|
2003-06-06 06:24:46 +00:00
|
|
|
|
|
|
|
// internal vars
|
2023-12-15 09:14:27 +00:00
|
|
|
NSString *_currentClass;
|
|
|
|
id _theobject;
|
|
|
|
id _actionData;
|
|
|
|
id _outletData;
|
|
|
|
id _parentClassData;
|
2003-06-06 06:24:46 +00:00
|
|
|
|
|
|
|
// class manager..
|
2023-12-15 09:14:27 +00:00
|
|
|
GormClassManager *_classManager;
|
2003-06-06 06:24:46 +00:00
|
|
|
}
|
2003-06-07 05:21:16 +00:00
|
|
|
- (void) addAction: (id)sender;
|
|
|
|
- (void) removeAction: (id)sender;
|
|
|
|
- (void) addOutlet: (id)sender;
|
|
|
|
- (void) removeOutlet: (id)sender;
|
2003-06-06 06:24:46 +00:00
|
|
|
- (void) select: (id)sender;
|
2004-02-12 06:56:56 +00:00
|
|
|
- (void) searchForClass: (id)sender;
|
|
|
|
- (void) selectClass: (id)sender;
|
2003-06-06 06:24:46 +00:00
|
|
|
- (NSString *) _currentClass;
|
2003-06-08 04:38:59 +00:00
|
|
|
- (void) _refreshView;
|
|
|
|
- (void) handleNotification: (NSNotification *)notification;
|
2004-06-26 03:36:29 +00:00
|
|
|
- (void) changeClassName: (id)sender;
|
2005-05-24 04:39:29 +00:00
|
|
|
- (void) selectAction: (id)sender;
|
|
|
|
- (void) selectOutlet: (id)sender;
|
2003-06-06 06:24:46 +00:00
|
|
|
@end
|