Download CommonLua/Ged/XTemplates/GedCollectionsEditor.lua from sirnii/myspace: direct link, hf CLI and curl.
- Browser
- Download file 3.62 kB
-
https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/Ged/XTemplates/GedCollectionsEditor.lua
- Command line
-
hf download hf://spaces/sirnii/myspace/CommonLua/Ged/XTemplates/GedCollectionsEditor.lua
-
curl -L -o GedCollectionsEditor.lua https://huggingface.co/spaces/sirnii/myspace/resolve/main/CommonLua/Ged/XTemplates/GedCollectionsEditor.lua
3.62 kB
| -- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ========== | |
| PlaceObj('XTemplate', { | |
| group = "GedApps", | |
| id = "GedCollectionsEditor", | |
| save_in = "Ged", | |
| PlaceObj('XTemplateWindow', { | |
| '__class', "GedApp", | |
| 'Title', "Collections", | |
| 'AppId', "GedCollectionsEditor", | |
| 'CommonActionsInMenubar', false, | |
| 'CommonActionsInToolbar', false, | |
| }, { | |
| PlaceObj('XTemplateWindow', { | |
| '__context', function (parent, context) return "root" end, | |
| '__class', "GedTreePanel", | |
| 'Id', "idCollections", | |
| 'Title', "Collections", | |
| 'Format', "<EditorView>", | |
| 'SelectionBind', "SelectedCollection", | |
| 'OnDoubleClick', function (self, selection) | |
| self.parent:Send("GedCollectionEditorOp", "view") | |
| end, | |
| }), | |
| PlaceObj('XTemplateWindow', { | |
| '__class', "XPanelSizer", | |
| }), | |
| PlaceObj('XTemplateWindow', { | |
| '__context', function (parent, context) return "CollectionObjects" end, | |
| '__class', "GedTreePanel", | |
| 'Id', "idObjects", | |
| 'Title', "Objects", | |
| 'ActionContext', "ObjectPanelActions", | |
| 'Format', "<EditorView>", | |
| '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", | |
| 'ActionsClass', "PropertyObject", | |
| 'Copy', "GedOpPropertyCopy", | |
| 'Paste', "GedOpPropertyPaste", | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "New", | |
| 'ActionName', T(795634046695, --[[XTemplate GedCollectionsEditor ActionName]] "New"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/new.tga", | |
| 'ActionToolbar', "main", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Send("GedCollectionEditorOp", "new") | |
| end, | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "Delete", | |
| 'ActionName', T(464711044764, --[[XTemplate GedCollectionsEditor ActionName]] "Delete"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/delete.tga", | |
| 'ActionToolbar', "main", | |
| 'ActionShortcut', "Delete", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Send("GedCollectionEditorOp", "delete") | |
| end, | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "Lock", | |
| 'ActionName', T(254324150154, --[[XTemplate GedCollectionsEditor ActionName]] "Lock"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/down.tga", | |
| 'ActionToolbar', "main", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Send("GedCollectionEditorOp", "lock") | |
| end, | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "Unlock", | |
| 'ActionName', T(510925660723, --[[XTemplate GedCollectionsEditor ActionName]] "Unlock"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/up.tga", | |
| 'ActionToolbar', "main", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Send("GedCollectionEditorOp", "unlock") | |
| end, | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "Collect", | |
| 'ActionName', T(942266051490, --[[XTemplate GedCollectionsEditor ActionName]] "Collect"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/collection.tga", | |
| 'ActionToolbar', "main", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Send("GedCollectionEditorOp", "collect") | |
| end, | |
| }), | |
| PlaceObj('XTemplateAction', { | |
| 'ActionId', "Uncollect", | |
| 'ActionName', T(268872113397, --[[XTemplate GedCollectionsEditor ActionName]] "Uncollect"), | |
| 'ActionIcon', "CommonAssets/UI/Ged/usb.tga", | |
| 'ActionToolbar', "main", | |
| 'OnAction', function (self, host, source, ...) | |
| host:Send("GedCollectionEditorOp", "uncollect") | |
| end, | |
| }), | |
| }), | |
| }) | |