Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Multipage Editor / Outline View Toolbar
Multipage Editor / Outline View Toolbar [message #153904] Wed, 13 October 2004 18:17 Go to next message
Eclipse UserFriend
Originally posted by: edunn.PureEdge.com

I've got a multipage editor working, with each editor contributing its own
outline view.

My editors are "GUI Editor", and an XML "Code Editor".

When GUI Editor is active, the outline view showns a tree view of my items.
When the Code Editor is active, the outline view shown a tree view of the
XML.

But When the GUI Editor is active, I also have a "Filter Visibility"
toggle action available on the outline views toolbar.

When i switch editors, the outline view it self changes correctly, but the
toolbar remains the same. - how do i update the toolbar to only show that
action when the GUI Editor is active?

I see there's a IContentOutlinePage.setActionBars(), do i have to create a
dummy/blank actionBar when i switch editors?

I do not have control over the XML Code Editor's outline view, as this is
an 3rd party plugin we are using.

Thanks
Re: Multipage Editor / Outline View Toolbar [message #154188 is a reply to message #153904] Thu, 14 October 2004 21:15 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Try the platform newsgroup.

"Eric Dunn" <edunn@PureEdge.com> wrote in message
news:ckjrg5$ah3$1@eclipse.org...
> I've got a multipage editor working, with each editor contributing its own
> outline view.
>
> My editors are "GUI Editor", and an XML "Code Editor".
>
> When GUI Editor is active, the outline view showns a tree view of my
items.
> When the Code Editor is active, the outline view shown a tree view of the
> XML.
>
> But When the GUI Editor is active, I also have a "Filter Visibility"
> toggle action available on the outline views toolbar.
>
> When i switch editors, the outline view it self changes correctly, but the
> toolbar remains the same. - how do i update the toolbar to only show that
> action when the GUI Editor is active?
>
> I see there's a IContentOutlinePage.setActionBars(), do i have to create a
> dummy/blank actionBar when i switch editors?
>
> I do not have control over the XML Code Editor's outline view, as this is
> an 3rd party plugin we are using.
>
> Thanks
>
Previous Topic:Eclipse-wiki down
Next Topic:GEF tree support
Goto Forum:
  


Current Time: Fri Apr 19 22:25:42 GMT 2024

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

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

Back to the top