Controlling the position and state of the side shelf component in composites

Looks like our documentation/wiki is lacking so I will add this here for now.

You can control how side bar components are positioned and sized in the side bar. We offer three preferences that can be used to control this.

The reqion specifies the placement of the component.
com.ibm.rcp.shelfView.region = {MIDDLE, TOP, BOTTOM}

The state specifies how the view is restored. For instance, MAXIMIZED will make the view maximized (which minimizes all other views) when the application is opened.
com.ibm.rcp.shelfView.state = {MAXIMIZED, RESTORED}

Lastly, you can specify what side the component is
com.ibm.rcp.shelfView = {RIGHT, LEFT}

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.