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] Sun, 19 December 2010 19:04 Go to next message
Craig Foote is currently offline Craig Foote
Messages: 195
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] Sun, 19 December 2010 20:28 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26014
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
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
Dani Megert is currently offline Dani Megert
Messages: 3801
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] Wed, 22 December 2010 19:29 Go to previous message
Craig Foote is currently offline Craig Foote
Messages: 195
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: Tue Sep 02 10:09:20 EDT 2014

Powered by FUDForum. Page generated in 0.02010 seconds