-
Notifications
You must be signed in to change notification settings - Fork 1
/
TWLayoutItemFactory.h
47 lines (34 loc) · 1.34 KB
/
TWLayoutItemFactory.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
Copyright (C) 2013 Quentin Mathe
Author: Quentin Mathe <[email protected]>
Date: April 2013
License: Modified BSD (see COPYING)
*/
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import <EtoileFoundation/EtoileFoundation.h>
#ifndef GNUSTEP
#import <EtoileFoundation/GNUstep.h>
#endif
#import <CoreObject/CoreObject.h>
#import <EtoileUI/EtoileUI.h>
@class TWEditorController;
@interface TWLayoutItemFactory : ETLayoutItemFactory
{
}
/** @taskunit Default Sizes */
- (CGFloat) defaultInspectorWidth;
/** @taskunit Main UI */
- (ETLayoutItemGroup *) editorWithRepresentedObject: (id)anObject editingContext: (COEditingContext *)aContext;
- (ETLayoutItemGroup *) bodyWithRepresentedObject: (id <ETCollection>)aGroup controller: (id)aController;
- (ETLayoutItem *) viewPopUpWithController: (id)aController;
- (ETLayoutItemGroup *) topBarWithController: (ETController *)aController;
- (ETLayoutItemGroup *) contentViewWithRepresentedObject: (id)anObject controller: (id)aController;
/** @taskunit Accessory UI */
- (ETLayoutItemGroup *) inspectorWithObject: (id)anObject size: (NSSize)aSize controller: (id)aController;
@end
@interface ETApplication (TypeWriter)
/** Returns the visible View menu if there is one already inserted in the
menu bar, otherwise builds a new instance and returns it. */
- (NSMenuItem *) viewMenuItem;
@end