Hi,
Do you know if there is a way to apply a given window layout (identified by its name) to the current window? I know how to apply the default layout (there is an AnAction
for that), but I would like to apply a specific (not the default) window layout instead, programmatically.
Thanks.
See com.intellij.ide.actions.CustomLayoutsActionGroup
as reference.
Thanks! I will try this.
The IDE complains about the fact setLayout
and getLayoutCopy
respectively takes and returns a DesktopLayout
, which is Internal
, but I will see if the plugin verifier complains about that (I’m not building my own DesktopLayout
, so I think everything is fine).