File size: 4,903 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========
PlaceObj('XTemplate', {
group = "GedApps",
id = "GedInspector",
save_in = "Common",
PlaceObj('XTemplateWindow', {
'__class', "GedApp",
'Padding', box(5, 5, 5, 5),
'MinWidth', 400,
'MinHeight', 400,
'MaxWidth', 800,
'MaxHeight', 2000,
'HandleMouse', true,
'Title', "Inspector",
'AppId', "GedInspector",
'InitialWidth', 600,
}, {
PlaceObj('XTemplateAction', {
'ActionId', "Back",
'ActionName', T(686909734572, --[[XTemplate GedInspector ActionName]] "Go Back"),
'ActionIcon', "CommonAssets/UI/Ged/left.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Op("GedOpInspectorNavGo", "root", "back")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Forward",
'ActionName', T(546794937830, --[[XTemplate GedInspector ActionName]] "Go Forward"),
'ActionIcon', "CommonAssets/UI/Ged/right.tga",
'ActionToolbar', "main",
'ActionToolbarSplit', true,
'OnAction', function (self, host, source, ...)
host:Op("GedOpInspectorNavGo", "root", "forward")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "PrevChild",
'ActionName', T(627324741115, --[[XTemplate GedInspector ActionName]] "Go to parent's previous child"),
'ActionIcon', "CommonAssets/UI/Ged/minus-one.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Op("GedOpInspectorNavGo", "root", "prevchild")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "NextChild",
'ActionName', T(724895571504, --[[XTemplate GedInspector ActionName]] "Go to parent's next child"),
'ActionIcon', "CommonAssets/UI/Ged/plus-one.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Op("GedOpInspectorNavGo", "root", "nextchild")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Parent",
'ActionName', T(996587881617, --[[XTemplate GedInspector ActionName]] "Go to parent table"),
'ActionIcon', "CommonAssets/UI/Ged/up.tga",
'ActionToolbar', "main",
'ActionToolbarSplit', true,
'OnAction', function (self, host, source, ...)
host:Op("GedOpInspectorNavGo", "root", "parent")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "SetO1",
'ActionName', T(859278622382, --[[XTemplate GedInspector ActionName]] "Store in 'o1'"),
'ActionIcon', "CommonAssets/UI/Ged/o1.tga",
'ActionToolbar', "main",
'ActionToggle', true,
'ActionToggled', function (self, host)
return host.actions_toggled["SetO1"]
end,
'OnAction', function (self, host, source, ...)
host.actions_toggled["SetO1"] = not host.actions_toggled["SetO1"]
host:Op("GedOpInspectorSetGlobal", "root", "o1", host.actions_toggled["SetO1"])
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "SetO2",
'ActionName', T(361035811838, --[[XTemplate GedInspector ActionName]] "Store in 'o2'"),
'ActionIcon', "CommonAssets/UI/Ged/o2.tga",
'ActionToolbar', "main",
'ActionToggle', true,
'ActionToggled', function (self, host)
return host.actions_toggled["SetO2"]
end,
'OnAction', function (self, host, source, ...)
host.actions_toggled["SetO2"] = not host.actions_toggled["SetO2"]
host:Op("GedOpInspectorSetGlobal", "root", "o2", host.actions_toggled["SetO2"])
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "SetO3",
'ActionName', T(980812932469, --[[XTemplate GedInspector ActionName]] "Store in 'o3'"),
'ActionIcon', "CommonAssets/UI/Ged/o3.tga",
'ActionToolbar', "main",
'ActionToolbarSplit', true,
'ActionToggle', true,
'ActionToggled', function (self, host)
return host.actions_toggled["SetO3"]
end,
'OnAction', function (self, host, source, ...)
host.actions_toggled["SetO3"] = not host.actions_toggled["SetO3"]
host:Op("GedOpInspectorSetGlobal", "root", "o3", host.actions_toggled["SetO3"])
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "View",
'ActionName', T(462853252033, --[[XTemplate GedInspector ActionName]] "View"),
'ActionIcon', "CommonAssets/UI/Ged/view.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Op("GedOpInspectorViewObject", "root")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Refresh",
'ActionName', T(158496240791, --[[XTemplate GedInspector ActionName]] "Refresh"),
'ActionIcon', "CommonAssets/UI/Ged/redo.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Send("GedObjModified", "root")
end,
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "root" end,
'__class', "GedObjectPanel",
'Id', "idProps",
'Title', "",
'EnableSearch', true,
'PersistentSearch', true,
}),
PlaceObj('XTemplateWindow', {
'__class', "XSizeControl",
}),
}),
})
|