Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PropertySheet clears when maximized(Custom IPropertySheetPage implementation usage)
icon5.gif  PropertySheet clears when maximized [message #645694] Mon, 20 December 2010 00:04 Go to next message
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
We have a custom IPropertySheetPage implementation and our view adapting to it and showing the properties of its selected object. The problem is that, when the PropertySheet is maximized, its contents are cleared. I think its PartListener is replacing our custom page with the default PropertySheetPage. How do I prevent this? We want our IPropertySheetPage implementation to remain when the view is maximized without having to pin it.

Craig
Re: PropertySheet clears when maximized [message #645697 is a reply to message #645694] Mon, 20 December 2010 01:28 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Craig,

More likely the change is the result of the selection changing. Maybe
some other view or edit thinks it should be providing the selection...


Craig Foote wrote:
> We have a custom IPropertySheetPage implementation and our view
> adapting to it and showing the properties of its selected object. The
> problem is that, when the PropertySheet is maximized, its contents are
> cleared. I think its PartListener is replacing our custom page with
> the default PropertySheetPage. How do I prevent this? We want our
> IPropertySheetPage implementation to remain when the view is maximized
> without having to pin it.
>
> Craig


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: PropertySheet clears when maximized [message #646131 is a reply to message #645694] Wed, 22 December 2010 09:11 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 20.12.2010 01:05, Craig Foote wrote:
> We have a custom IPropertySheetPage implementation and our view
> adapting to it and showing the properties of its selected object. The
> problem is that, when the PropertySheet is maximized, its contents are
> cleared.
Maybe you run into https://bugs.eclipse.org/325743?

Dani
> I think its PartListener is replacing our custom page with the default
> PropertySheetPage. How do I prevent this? We want our
> IPropertySheetPage implementation to remain when the view is maximized
> without having to pin it.
>
> Craig
Re: PropertySheet clears when maximized [message #646268 is a reply to message #645694] Thu, 23 December 2010 00:29 Go to previous message
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
It could be but frankly I don't understand the bug report. I added a comment to it so perhaps I can get some clarification on it.

It really does appear to be the PropertySheet's PartListener that is hard-coded to display the default PropertySheetPage when the selection-providing view is no longer visible, for example when the PropertySheet is maximized. I can't imagine that being by design so it looks like an eclipse bug to me. Further I don't know why the default PropertySheetPage appears empty, i.e. is the last selection being ignored or is there something else causing it?

Craig
Previous Topic:HowTo avoid minimal size of text in ControlContribution in Local Toolbar?
Next Topic:How to launch LaunchConfigurations sequentially ?
Goto Forum:
  


Current Time: Thu Apr 25 10:34:49 GMT 2024

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

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

Back to the top