From a27d2e4c291975f4a5e9fabe89501584e33a3326 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Mon, 15 Aug 2016 14:52:03 -0300 Subject: Update EditorPlugin doc --- doc/base/classes.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 56a24d77ee..4b6f5f510d 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -11505,6 +11505,13 @@ Get the undo/redo object. Most actions in the editor can be undoable, so use this object to make sure this happens when it's worth it. + + + + + Get the GUI layout of the plugin. This is used to save the project's editor layout when the [method EditorPlugin.queue_save_layout] is called or the editor layout was changed(For example changing the position of a dock). + + @@ -11529,6 +11536,11 @@ Remember that you have to manage the visibility of all your editor controls manually. + + + Queue save the project's editor layout. + + @@ -11564,6 +11576,11 @@ Remove the import plugin, don't forget to call this on exit. + + + This method is called after the editor save the project or when the it's closed. It asks the plugin to save edited external scenes/resources. + + @@ -11571,6 +11588,13 @@ Restore the state saved by [method EditorPlugin.get_state]. + + + + + Restore the plugin GUI layout saved by [method EditorPlugin.get_window_layout]. + + -- cgit v1.2.3