Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361957

Summary: Pinned Tabbed Properties View clears when New Tabbed Properties View updates
Product: [Modeling] EEF Reporter: Jay Norwood <jayn>
Component: User InterfaceAssignee: Project Inbox <eef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: cvgaviao, mauersberger, stephane.begaudeau
Version: 1.5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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)
}}}