2009-08-05 08:59:46 +00:00
|
|
|
/*
|
2012-03-15 18:28:40 +00:00
|
|
|
Copyright 2012 Hardcoded Software (http://www.hardcoded.net)
|
2009-08-05 08:59:46 +00:00
|
|
|
|
2010-09-30 10:17:41 +00:00
|
|
|
This software is licensed under the "BSD" License as described in the "LICENSE" file,
|
2009-08-05 08:59:46 +00:00
|
|
|
which should be included with this package. The terms are also available at
|
2010-09-30 10:17:41 +00:00
|
|
|
http://www.hardcoded.net/licenses/bsd_license
|
2009-08-05 08:59:46 +00:00
|
|
|
*/
|
|
|
|
|
2009-06-15 12:33:58 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2012-01-13 20:25:34 +00:00
|
|
|
#import <Python.h>
|
2010-02-05 19:10:54 +00:00
|
|
|
#import "PyDetailsPanel.h"
|
2009-06-15 12:33:58 +00:00
|
|
|
|
2012-07-29 15:57:46 +00:00
|
|
|
@interface DetailsPanelBase : NSWindowController <NSTableViewDataSource>
|
2009-06-15 12:33:58 +00:00
|
|
|
{
|
2012-07-21 14:39:01 +00:00
|
|
|
NSTableView *detailsTable;
|
2012-01-12 14:41:03 +00:00
|
|
|
|
2012-01-13 20:25:34 +00:00
|
|
|
PyDetailsPanel *model;
|
2009-06-15 12:33:58 +00:00
|
|
|
}
|
2012-07-21 14:39:01 +00:00
|
|
|
|
|
|
|
@property (readwrite, retain) NSTableView *detailsTable;
|
|
|
|
|
2012-01-13 20:25:34 +00:00
|
|
|
- (id)initWithPyRef:(PyObject *)aPyRef;
|
|
|
|
- (PyDetailsPanel *)model;
|
2009-06-15 12:33:58 +00:00
|
|
|
|
2012-07-29 15:57:46 +00:00
|
|
|
- (NSWindow *)createWindow;
|
2011-01-13 12:51:00 +00:00
|
|
|
- (BOOL)isVisible;
|
2009-11-02 15:16:34 +00:00
|
|
|
- (void)toggleVisibility;
|
2009-06-15 12:53:47 +00:00
|
|
|
|
2010-02-05 19:10:54 +00:00
|
|
|
/* Python --> Cocoa */
|
|
|
|
- (void)refresh;
|
2009-06-15 12:33:58 +00:00
|
|
|
@end
|