Is there any API to minimize a dockable
Depends… are you working with Core or with Common? In Core such a concept does not exist and you have to write it yourself. In Common there are two ways. Either minimize to just one minimize-area:
dockable.setExtendedMode( CDockable.ExtendedMode.MINIMIZED ); ```
... or to a specific one using a CLocation, like this:
```dockable.setLocation( CLocation.base().minimalNorth() );```