2006-09-21 07:24:22 +00:00
|
|
|
/**
|
|
|
|
ConnectInspector.h
|
|
|
|
|
2007-01-05 16:17:04 +00:00
|
|
|
Author: Matt Rice <ratmice@gmail.com>
|
2006-09-21 07:24:22 +00:00
|
|
|
Date: 2005, 2006
|
|
|
|
|
|
|
|
This file is part of GDL2Palette.
|
|
|
|
|
|
|
|
<license>
|
|
|
|
GDL2Palette is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-07-12 06:39:22 +00:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2006-09-21 07:24:22 +00:00
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
GDL2Palette 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 GDL2Palette; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
</license>
|
|
|
|
**/
|
2005-05-13 00:25:27 +00:00
|
|
|
#include <InterfaceBuilder/IBInspector.h>
|
|
|
|
@class NSBrowser;
|
|
|
|
@class NSPopUpButton;
|
2006-09-05 22:39:30 +00:00
|
|
|
@class EOAssociation;
|
2005-05-13 00:25:27 +00:00
|
|
|
|
|
|
|
@interface GDL2ConnectionInspector : IBInspector
|
|
|
|
{
|
|
|
|
NSBrowser *oaBrowser;
|
|
|
|
NSBrowser *connectionsBrowser;
|
|
|
|
NSPopUpButton *popUp;
|
|
|
|
|
|
|
|
NSArray *_keys;
|
|
|
|
NSArray *_signatures;
|
2006-09-05 22:39:30 +00:00
|
|
|
NSMutableArray *_values;
|
2005-05-13 00:25:27 +00:00
|
|
|
NSMutableArray *_connectors;
|
|
|
|
|
|
|
|
NSNibConnector *_currentConnector;
|
2006-09-05 22:39:30 +00:00
|
|
|
|
|
|
|
EOAssociation *_association;
|
2005-05-13 00:25:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (void) updateKeys;
|
|
|
|
- (void) updateValues;
|
|
|
|
- (void) updateButtons;
|
|
|
|
- (void) selectedConnector;
|
|
|
|
- (void) selectedOutletOrAction;
|
|
|
|
@end
|
|
|
|
|
|
|
|
|