|  |  | 
					
						
						|  |  | 
					
						
						|  | PlaceObj('XTemplate', { | 
					
						
						|  | group = "GedApps", | 
					
						
						|  | id = "SceneImportEditor", | 
					
						
						|  | save_in = "Ged", | 
					
						
						|  | PlaceObj('XTemplateTemplate', { | 
					
						
						|  | '__template', "PresetEditor", | 
					
						
						|  | }, { | 
					
						
						|  | PlaceObj('XTemplateWindow', { | 
					
						
						|  | '__context', function (parent, context) return "Importer" end, | 
					
						
						|  | '__parent', function (parent, context) return parent.idPresets end, | 
					
						
						|  | '__class', "GedPropPanel", | 
					
						
						|  | 'Id', "idImporter", | 
					
						
						|  | 'Dock', "bottom", | 
					
						
						|  | 'Title', "Filter and scene", | 
					
						
						|  | 'EnableSearch', false, | 
					
						
						|  | 'EnableUndo', false, | 
					
						
						|  | 'EnableCollapseDefault', false, | 
					
						
						|  | 'EnableShowInternalNames', false, | 
					
						
						|  | 'EnableCollapseCategories', false, | 
					
						
						|  | 'HideFirstCategory', true, | 
					
						
						|  | }), | 
					
						
						|  | PlaceObj('XTemplateWindow', { | 
					
						
						|  | '__class', "XPanelSizer", | 
					
						
						|  | }), | 
					
						
						|  | PlaceObj('XTemplateWindow', { | 
					
						
						|  | 'Id', "idScene", | 
					
						
						|  | 'IdNode', true, | 
					
						
						|  | 'LayoutMethod', "VPanel", | 
					
						
						|  | }, { | 
					
						
						|  | PlaceObj('XTemplateWindow', { | 
					
						
						|  | '__context', function (parent, context) return "SceneDescNodes" end, | 
					
						
						|  | '__class', "GedTreePanel", | 
					
						
						|  | 'Id', "idNodes", | 
					
						
						|  | 'Title', "Nodes", | 
					
						
						|  | 'TitleFormatFunc', "GedFormatPresets", | 
					
						
						|  | 'Format', "<EditorView>", | 
					
						
						|  | 'SelectionBind', "SelectedNode,SelectedObject", | 
					
						
						|  | 'MultipleSelection', true, | 
					
						
						|  | }), | 
					
						
						|  | PlaceObj('XTemplateWindow', { | 
					
						
						|  | '__class', "XPanelSizer", | 
					
						
						|  | }), | 
					
						
						|  | PlaceObj('XTemplateWindow', { | 
					
						
						|  | '__context', function (parent, context) return "SceneDescGlobals" end, | 
					
						
						|  | '__class', "GedTreePanel", | 
					
						
						|  | 'Id', "idProtos", | 
					
						
						|  | 'MinHeight', 100, | 
					
						
						|  | 'MaxHeight', 400, | 
					
						
						|  | 'Title', "Globals", | 
					
						
						|  | 'TitleFormatFunc', "GedFormatPresets", | 
					
						
						|  | 'Format', "<EditorView>", | 
					
						
						|  | 'SelectionBind', "SelectedGlobal,SelectedObject", | 
					
						
						|  | 'MultipleSelection', true, | 
					
						
						|  | }), | 
					
						
						|  | }), | 
					
						
						|  | }), | 
					
						
						|  | }) | 
					
						
						|  |  | 
					
						
						|  |  |