File size: 3,615 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 |
-- ========== 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,
}),
}),
})
|