File size: 2,183 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	group = "GedApps",
	id = "GedSatelliteSectorEditor",
	save_in = "GameGed",
	PlaceObj('XTemplateWindow', {
		'__class', "GedApp",
		'Title', "Satellite Sectors Editor",
		'AppId', "GedSatelliteSectorEditor",
		'CommonActionsInMenubar', false,
		'CommonActionsInToolbar', false,
	}, {
		PlaceObj('XTemplateWindow', {
			'MinWidth', 300,
			'LayoutMethod', "VPanel",
		}, {
			PlaceObj('XTemplateWindow', {
				'comment', "filter",
				'__context', function (parent, context) return "SectorsFilter" end,
				'__class', "GedPropPanel",
				'Id', "idSectorsFilter",
				'Dock', "bottom",
				'Collapsible', true,
				'Title', "Filter",
				'EnableSearch', false,
				'DisplayWarnings', false,
				'EnableUndo', false,
				'EnableCollapseDefault', false,
				'EnableShowInternalNames', false,
				'EnableCollapseCategories', false,
				'HideFirstCategory', true,
			}),
			PlaceObj('XTemplateWindow', {
				'__context', function (parent, context) return "root" end,
				'__class', "GedListPanel",
				'Id', "idSectors",
				'Title', "Satellite Sectors",
				'Format', "<EditorView>",
				'FilterName', "SectorsFilter",
				'FilterClass', "SatelliteSectorGedFilter",
				'SelectionBind', "SelectedObject",
				'MultipleSelection', true,
			}),
			}),
		PlaceObj('XTemplateWindow', {
			'__context', function (parent, context) return "SelectedObject" end,
			'__class', "GedPropPanel",
			'MinWidth', 500,
			'Title', "Properties",
			'ActionsClass', "PropertyObject",
			'Copy', "GedOpPropertyCopy",
			'Paste', "GedOpPropertyPaste",
			'HideFirstCategory', true,
		}),
		PlaceObj('XTemplateAction', {
			'ActionId', "Save",
			'ActionName', T(759599468155, --[[XTemplate GedSatelliteSectorEditor ActionName]] "Save"),
			'ActionIcon', "CommonAssets/UI/Ged/save.tga",
			'ActionToolbar', "main",
			'ActionShortcut', "Ctrl-S",
			'OnAction', function (self, host, source, ...)
				if config.ModdingToolsInUserMode then
					host:Send("GedSatSectorSaveMods")
				else
					host:Send("GedPresetSave", "SelectedPrg", "CampaignPreset", "force_save")
				end
			end,
		}),
		}),
})