|Setting the auto expand level of the Outline [message #513517]
||Wed, 10 February 2010 13:14
| Eric Boureau
Registered: July 2009
I would like to set the auto expand level of the outline viewer to only expand the top level elements.|
To achieve this I used registerSpecialToolbarActions method of my OutlinePage and put the line
protected void registerSpecialToolbarActions(IActionBars actionBars)
I did it this way because this is the only method called between the outline viewer creation and the call to setInput.
This works fine, but I'm wondering if there is a more elegant way to do it.
If not, can you provide a way to customize this behavior ?
Powered by FUDForum
. Page generated in 0.01505 seconds