myspace / CommonLua /Ged /XTemplates /GedFXEditor.lua
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
1.47 kB
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========
PlaceObj('XTemplate', {
RequireActionSortKeys = true,
group = "GedApps",
id = "GedFXEditor",
save_in = "Ged",
PlaceObj('XTemplateTemplate', {
'__template', "PresetEditor",
}, {
PlaceObj('XTemplateAction', {
'ActionId', "Tools",
'ActionSortKey', "3",
'ActionName', T(463447631288, --[[XTemplate GedFXEditor ActionName]] "Tools"),
'ActionMenubar', "main",
'OnActionEffect', "popup",
}, {
PlaceObj('XTemplateAction', {
'ActionId', "UseAsFilter",
'ActionSortKey', "4",
'ActionName', T(540744150337, --[[XTemplate GedFXEditor ActionName]] "Use as filter"),
'ActionIcon', "CommonAssets/UI/Ged/filter",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
local panel = host:GetLastFocusedPanel()
if panel == host.idPresets and panel:GetSelection() then
host :Op("GedOpFxUseAsFilter", panel.context, panel:GetSelection())
end
end,
'ActionContexts', {
"PresetsChildAction",
},
}),
PlaceObj('XTemplateAction', {
'ActionId', "CheckDuplicates",
'ActionSortKey', "5",
'ActionName', T(851805571588, --[[XTemplate GedFXEditor ActionName]] "Check duplicates"),
'ActionIcon', "CommonAssets/UI/Ged/collapse_node",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host :Op("GedOpFxCheckDuplicates")
end,
}),
}),
}),
})