Forcing outlying views (palette, properties, outline, etc) to update? [message #240272] |
Wed, 12 December 2007 21:52 |
Eclipse User |
|
|
|
Originally posted by: tom.klancer.softwareag.com
Hi all... I've got a rather complicated question, or at least it seems
that way to me.
I've got a multipage editor that contains several different GEF editors.
One page uses a tree editor that's got a specific palette and property
sheet page, and another page uses a composite that contains multiple
tree editors (reused from elsewhere in our code) that have their own
property sheet page and palette. The problem is that the property and
palette views only request the property sheet/palette when the main
editor is activated, but I need it to change depending on which editor
tab is active.
Is there a way I can get the properties/palette views to re-request the
property sheet page/palette when the tab changes? For example, is there
a way I can fire off an activation event that will be acted upon by the
appropriate views?
Any ideas are most appreciated!
Thanks,
-Tom
|
|
|
Re: Forcing outlying views (palette, properties, outline, etc) to update? [message #240291 is a reply to message #240272] |
Fri, 14 December 2007 23:32 |
Eclipse User |
|
|
|
Originally posted by: tom.klancer.softwareag.com
Following up on my own question... I've figured out a way to accomplish
this -- create a StackedPaletteViewerPage and a
StackedPropertySheetPage, each of which show/hide the appropriate pages
when told to. It works pretty well, actually...
-Tom
Tom Klancer wrote:
> Hi all... I've got a rather complicated question, or at least it seems
> that way to me.
>
> I've got a multipage editor that contains several different GEF editors.
> One page uses a tree editor that's got a specific palette and property
> sheet page, and another page uses a composite that contains multiple
> tree editors (reused from elsewhere in our code) that have their own
> property sheet page and palette. The problem is that the property and
> palette views only request the property sheet/palette when the main
> editor is activated, but I need it to change depending on which editor
> tab is active.
>
> Is there a way I can get the properties/palette views to re-request the
> property sheet page/palette when the tab changes? For example, is there
> a way I can fire off an activation event that will be acted upon by the
> appropriate views?
>
> Any ideas are most appreciated!
>
> Thanks,
> -Tom
|
|
|
Powered by
FUDForum. Page generated in 0.03634 seconds