[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Properties Sheet becomes empty on switching between views.

Properties view works on the current selection in the workbench. It doesn't know about outline view (or any other view)

So when you switch to Problems View, the selection might be empty in the view part, so the Properties View will be blank. When you come back to Properties View, the selection might be still empty, so the view will not display any properties.

I don't think its a bug, its the way Properties View works!

--

 - Prakash

Eclipse Tips: http://blog.cypal-solutions.com
Eclipse Search: http://www.cypal.in/eclipsesearch


Supreetha H R wrote:
Hello,

In our RCP application, we are displaying the details of the selected object in Outline View and Editor(which is a multi page editor, with Form and Grid views) in Properties sheet, and the input to the sections of properties sheet is my model object.

Everything works fine except, 1. When the focus goes to Properties sheet to Problems View and immediately come back to Properties sheet. In this scenario, properties sheet is becoming empty.
2. If i have selected a object in Outline View and switch from one page to another (in editor area) Properties sheet displays a message, 'Properties are not available.'(this behavior is only when i switch from first page to second but works fine when i switch from second page to first page).


I observed the same behavior in eclipse too. (i had selected a package in package explorer, Properties sheet was displaying the selected packages Properties, and when i switched to Problems View and came back,Propertis sheet became empty.) but in some workspace, this works fine!

Is it an Eclipse Bug? or a Feature?

Regards,
Supreetha