myspace / CommonLua /Ged /XTemplates /GedEntityViewer.lua
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
2.01 kB
-- ========== 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,
}),
}),
})