File size: 1,399 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
48
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	group = "GedApps",
	id = "GedBuildingRulesEditor",
	save_in = "Ged",
	PlaceObj('XTemplateWindow', {
		'__class', "GedApp",
		'Title', "Building Rules Editor",
		'AppId', "GedBuildingRulesEditor",
		'CommonActionsInMenubar', false,
		'CommonActionsInToolbar', false,
	}, {
		PlaceObj('XTemplateAction', {
			'ActionId', "NewForbidRule",
			'ActionName', T(918801280324, --[[XTemplate GedBuildingRulesEditor ActionName]] "New Forbid Rule"),
			'ActionIcon', "CommonAssets/UI/Ged/new.tga",
			'ActionToolbar', "main",
			'OnAction', function (self, host, source, ...)
				host:Op("GedOpNewForbidRule", "SelectedObject")
			end,
			'ActionContexts', {
				"RoomPanelGeneral",
			},
		}),
		PlaceObj('XTemplateWindow', {
			'__context', function (parent, context) return "root" end,
			'__class', "GedListPanel",
			'Id', "idRules",
			'Margins', box(0, 0, 2, 0),
			'Dock', "left",
			'Title', "Rules",
			'ActionsClass', "Object",
			'Delete', "GedOpListDeleteItem",
			'SelectionBind', "SelectedObject",
		}),
		PlaceObj('XTemplateWindow', {
			'__context', function (parent, context) return "SelectedObject" end,
			'__class', "GedPropPanel",
			'Title', "Properties",
			'ActionsClass', "PropertyObject",
			'Copy', "GedOpPropertyCopy",
			'Paste', "GedOpPropertyPaste",
		}),
		}),
})