Function EditorPlugin.addControlToDock
Adds the control to a specific dock slot (see dockslot
for options).
If the dock is repositioned and as long as the plugin is active, the editor will save the dock position on further sessions.
When your plugin is deactivated, make sure to remove your custom control with removeControlFromDocks
and free it with Node
.