File size: 2,005 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 |
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========
PlaceObj('XTemplate', {
group = "GedApps",
id = "GedEntityViewer",
save_in = "Ged",
PlaceObj('XTemplateWindow', {
'__class', "GedApp",
'Title', "Entity Viewer",
'AppId', "GedEntityViewer",
}, {
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "root" end,
'__class', "GedListPanel",
'Id', "idMeshes",
'Title', "Meshes",
'SelectionBind', "SelectedMesh,SelectedObject",
}),
PlaceObj('XTemplateWindow', {
'__class', "XPanelSizer",
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "SelectedMesh" end,
'__class', "GedTreePanel",
'Id', "idMeshItems",
'Title', "Tree",
'ActionContext', "ObjectPanelActions",
'Format', "<itemtext>",
'SelectionBind', "SelectedObject",
'MultipleSelection', true,
'RootActionContext', "ObjectPanelChildActions",
}),
PlaceObj('XTemplateWindow', {
'__class', "XPanelSizer",
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "SelectedObject" end,
'__class', "GedPropPanel",
'Id', "idProperties",
'Title', "Properties",
}),
PlaceObj('XTemplateAction', {
'ActionId', "PlayAnim",
'ActionName', T(681862459100, --[[XTemplate GedEntityViewer ActionName]] "Play State Animation"),
'ActionIcon', "CommonAssets/UI/Ged/play.tga",
'ActionToolbar', "main",
'ActionShortcut', "Ctrl-P",
'OnAction', function (self, host, source, ...)
host:InvokeMethod("root", "PlayAnim")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "AttachDetachAtSpot",
'ActionName', T(102690592778, --[[XTemplate GedEntityViewer ActionName]] "Attach/Detach Object at selected Spot"),
'ActionIcon', "CommonAssets/UI/Ged/usb.tga",
'ActionToolbar', "main",
'ActionShortcut', "Ctrl-A",
'OnAction', function (self, host, source, ...)
host:InvokeMethod("root", "AttachDetachAtSpot")
end,
}),
}),
})
|