Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Setting the auto expand level of the Outline
Setting the auto expand level of the Outline [message #513517] Wed, 10 February 2010 13:14
Eric Boureau is currently offline Eric BoureauFriend
Messages: 3
Registered: July 2009
Junior Member
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 ?
Previous Topic:[BUILD] S-1.0.2RC3-201002091326
Next Topic:[BUILD] I-I201002121033-201002121033
Goto Forum:

Current Time: Sun May 27 11:35:37 GMT 2018

Powered by FUDForum. Page generated in 0.01801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top