1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
3 * VIM - Vi IMproved by Bram Moolenaar
4 * MacVim GUI port by Bjorn Winckler
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
8 * See README.txt for an overview of the Vim source code.
11 #import <Cocoa/Cocoa.h>
12 #import "RBSplitView.h"
16 @
class MMPlugInViewContainer
;
17 @
class MMPlugInViewController
;
19 @interface MMPlugInViewHeader
: NSView
{
20 IBOutlet MMPlugInViewController
*controller
;
24 @interface MMPlugInView
: RBSplitSubview
{
25 IBOutlet MMPlugInViewController
*controller
;
28 - (MMPlugInViewController
*)controller
;
32 @interface MMPlugInViewController
: NSObject
{
33 IBOutlet RBSplitSubview
*plugInSubview
;
34 IBOutlet MMPlugInViewHeader
*headerView
;
35 IBOutlet NSView
*contentView
;
36 IBOutlet NSTextField
*titleField
;
39 - (id
)initWithView
:(NSView
*)view title
:(NSString
*)title
;
40 - (void)moveToContainer
:(MMPlugInViewContainer
*)container
;
41 - (RBSplitSubview
*)plugInSubview
;
42 - (MMPlugInViewContainer
*)container
;
44 // called when the dropView on the container holding this plugin view was
45 // changed, and this was the current dropView or it is the new dropView
46 - (void)dropViewChanged
;
49 @interface MMPlugInViewContainer
: RBSplitView
{
50 RBSplitSubview
*fillerView
;
52 // only used during drag and drop
53 MMPlugInView
*dropView
;
56 - (MMPlugInView
*)dropView
;