Debian Codegraph @

doc/classes/FileSystemDock.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="FileSystemDock" inherits="EditorDock" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Godot editor's dock for managing files in the project.
5 </brief_description>
6 <description>
7 This class is available only in [EditorPlugin]s and can't be instantiated. You can access it using [method EditorInterface.get_file_system_dock].
8 While [FileSystemDock] doesn't expose any methods for file manipulation, it can listen for various file-related signals.
9 </description>
10 <tutorials>
11 </tutorials>
12 <methods>
13 <method name="add_resource_tooltip_plugin">
14 <return type="void" />
15 <param index="0" name="plugin" type="EditorResourceTooltipPlugin" />
16 <description>
17 Registers a new [EditorResourceTooltipPlugin].
18 </description>
19 </method>
20 <method name="navigate_to_path">
21 <return type="void" />
22 <param index="0" name="path" type="String" />
23 <description>
24 Sets the given [param path] as currently selected, ensuring that the selected file/directory is visible.
25 </description>
26 </method>
27 <method name="remove_resource_tooltip_plugin">
28 <return type="void" />
29 <param index="0" name="plugin" type="EditorResourceTooltipPlugin" />
30 <description>
31 Removes an [EditorResourceTooltipPlugin]. Fails if the plugin wasn't previously added.
32 </description>
33 </method>
34 </methods>
35 <signals>
36 <signal name="display_mode_changed">
37 <description>
38 Emitted when the user switches file display mode or split mode.
39 </description>
40 </signal>
41 <signal name="file_removed">
42 <param index="0" name="file" type="String" />
43 <description>
44 Emitted when the given [param file] was removed.
45 </description>
46 </signal>
47 <signal name="files_moved">
48 <param index="0" name="old_file" type="String" />
49 <param index="1" name="new_file" type="String" />
50 <description>
51 Emitted when a file is moved from [param old_file] path to [param new_file] path.
52 </description>
53 </signal>
54 <signal name="folder_color_changed">
55 <description>
56 Emitted when folders change color.
57 </description>
58 </signal>
59 <signal name="folder_moved">
60 <param index="0" name="old_folder" type="String" />
61 <param index="1" name="new_folder" type="String" />
62 <description>
63 Emitted when a folder is moved from [param old_folder] path to [param new_folder] path.
64 </description>
65 </signal>
66 <signal name="folder_removed">
67 <param index="0" name="folder" type="String" />
68 <description>
69 Emitted when the given [param folder] was removed.
70 </description>
71 </signal>
72 <signal name="inherit">
73 <param index="0" name="file" type="String" />
74 <description>
75 Emitted when a new scene is created that inherits the scene at [param file] path.
76 </description>
77 </signal>
78 <signal name="instantiate">
79 <param index="0" name="files" type="PackedStringArray" />
80 <description>
81 Emitted when the given scenes are being instantiated in the editor.
82 </description>
83 </signal>
84 <signal name="resource_removed">
85 <param index="0" name="resource" type="Resource" />
86 <description>
87 Emitted when an external [param resource] had its file removed.
88 </description>
89 </signal>
90 <signal name="selection_changed">
91 <description>
92 Emitted when the selection changes. Use [method EditorInterface.get_selected_paths] in the connected method to get the selected paths.
93 </description>
94 </signal>
95 </signals>
96 </class>