-
Notifications
You must be signed in to change notification settings - Fork 2
/
MBLayoutItemFactory.h
45 lines (30 loc) · 1.49 KB
/
MBLayoutItemFactory.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
/*
Copyright (C) 2010 Quentin Mathe
Author: Quentin Mathe <[email protected]>
Date: September 2010
License: Modified BSD (see COPYING)
*/
#import <EtoileFoundation/EtoileFoundation.h>
#import <EtoileUI/EtoileUI.h>
@class MBRepositoryController, ETModelRepository;
@interface MBLayoutItemFactory : ETLayoutItemFactory
{
}
/* UI Construction Utilities */
- (ETOutlineLayout *) outlineLayoutForBrowser;
/* Model and Metamodel Editor */
- (ETLayoutItemGroup *) editorWithPackageDescription: (ETPackageDescription *)aPackageDesc;
- (ETLayoutItemGroup *) editorTopbarWithController: (id)aController;
- (ETLayoutItemGroup *) editorBodyWithPackageDescription: (ETPackageDescription *)aPackageDesc
controller: (id)aController;
- (ETLayoutItemGroup *) sourceListWithPackageDescription: (ETPackageDescription *)aPackageDesc
controller: (id)aController;
- (ETLayoutItemGroup *) entityViewWithEntityDescription: (ETEntityDescription *)anEntityDesc
controller: (id)aController;
/* Model and Metamodel Browser */
- (ETLayoutItemGroup *) browserWithDescriptionCollection: (id <ETCollection>)descriptions;
- (ETLayoutItemGroup *) browserBottomBarWithController: (MBRepositoryController *)aController;
- (ETLayoutItemGroup *) browserWithRepository: (ETModelRepository *)aRepo;
/* Check Feedback */
- (ETLayoutItemGroup *) checkReportWithWarnings: (NSArray *)warnings;
@end