Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361957 - Pinned Tabbed Properties View clears when New Tabbed Properties View updates
Summary: Pinned Tabbed Properties View clears when New Tabbed Properties View updates
Status: NEW
Alias: None
Product: EEF
Classification: Modeling
Component: User Interface (show other bugs)
Version: 1.5.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 12:23 EDT by Jay Norwood CLA
Modified: 2016-06-14 05:37 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Norwood CLA 2011-10-25 12:23:35 EDT
The Properties View -> Pin to Selection action and Properties->New Properties View action work together to create a second active Properties view while maintaining the status of the pinned view.  With the updates of the EEF generated Tabbed Properties View, however, the pinned Tabbed Properties View is cleared when the new tabbed properties view is updated to the contents of a new selection.
Comment 1 Jan Mauersberger CLA 2012-03-28 03:32:27 EDT
I would like to add another bug scenario I observed with pinned properties view and EEF 1.0.2:

Having a pinned properties view and the selected object is removed from memory (e.g. project close), the view is still pinned to the non-existing selection, casing NPEs when start working with the view. 

Example NPE:

{{{
java.lang.NullPointerException
	at org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent.firePropertiesChanged(StandardPropertiesEditionComponent.java:185)
	at XX.YY.ZZ.FooBarPartPropertiesEditionPartForm$2.focusLost()
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143)
}}}