Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PropertySheet clears when maximized(Custom IPropertySheetPage implementation usage)
icon5.gif  PropertySheet clears when maximized [message #645694] Sun, 19 December 2010 19:04 Go to next message
Eclipse UserFriend
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] Sun, 19 December 2010 20:28 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: PropertySheet clears when maximized [message #646131 is a reply to message #645694] Wed, 22 December 2010 04:11 Go to previous messageGo to next message
Eclipse UserFriend
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] Wed, 22 December 2010 19:29 Go to previous message
Eclipse UserFriend
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 Jul 03 06:05:46 EDT 2025

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

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

Back to the top