Multipage Editor / Outline View Toolbar [message #153904] |
Wed, 13 October 2004 18:17 |
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 21:15 |
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03424 seconds