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 14:17 Go to next message
Eclipse User
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 17:15 Go to previous message
Pratik Shah is currently offline Pratik Shah
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: Sat Aug 30 16:28:38 EDT 2014

Powered by FUDForum. Page generated in 0.01831 seconds