Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Forcing outlying views (palette, properties, outline, etc) to update?
Forcing outlying views (palette, properties, outline, etc) to update? [message #240272] Wed, 12 December 2007 21:52 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[draw2D] transparent Figures always have a white background on windows
Next Topic:Put GEF into ViewPart!!
Goto Forum:
  


Current Time: Tue Sep 24 10:03:22 GMT 2024

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

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

Back to the top