summaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorBruno Ortiz <brunortiz11@gmail.com>2017-01-02 10:37:22 -0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2017-01-02 13:37:22 +0100
commit7e0d0d0bb912fbb774f5890792840a1a62485773 (patch)
tree6e1c4b194bf4d1f47adb78e8841648f77c840b6d /doc/base/classes.xml
parentc7bc44d5ad9aae4902280012f7654e2318cd910e (diff)
Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)
Diffstat (limited to 'doc/base/classes.xml')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 234ef04be5..d11ffd629a 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -11859,6 +11859,13 @@
Get the main editor control. Use this as a parent for main screens.
</description>
</method>
+ <method name="edit_resource">
+ <argument index="0" name="p_resource" type="Resource">
+ </argument>
+ <description>
+ Tells the editor to handle the edit of the given resource. Ex: If you pass a Script as a argument, the editor will open the scriptEditor.
+ </description>
+ </method>
<method name="get_name" qualifiers="virtual">
<return type="String">
</return>