Test with popover Attachment and Notes view.

This commit is contained in:
michael starke
2013-06-21 21:07:26 +02:00
parent c20c225ac4
commit 6c08f908a6
11 changed files with 1238 additions and 1139 deletions

View File

@@ -14,7 +14,7 @@
@class HNHGradientView;
@class MPDocumentWindowController;
@interface MPInspectorViewController : MPViewController <NSTableViewDelegate, NSPopoverDelegate>
@interface MPInspectorViewController : MPViewController <NSPopoverDelegate>
@property (assign) IBOutlet MPPopupImageView *itemImageView;
@property (assign) IBOutlet NSTextField *itemNameTextfield;
@@ -26,14 +26,10 @@
@property (assign) IBOutlet NSTextField *titleOrNameLabel;
@property (assign) IBOutlet HNHGradientView *bottomBar;
@property (assign) IBOutlet NSTextField *infoTextField;
@property (assign) IBOutlet NSTableView *attachmentTableView;
@property (assign) IBOutlet NSView *scrollContentView;
@property (assign) IBOutlet NSSegmentedControl *notesOrAttachmentControl;
@property (retain) IBOutlet NSScrollView *attachmenScrollView;
@property (assign) IBOutlet NSScrollView *notesScrollView;
@property (assign) IBOutlet NSTextView *notesTextView;
- (void)closeActivePopup:(id)sender;
/* Seperate call to ensure alle registered objects are in place */
- (void)setupNotifications:(MPDocumentWindowController *)windowController;