Community
Participate
Working Groups
1. Close the properties view 2. Select an element within the Ecore or genmodel editor 3. Open the properties view -> the selected element is not shown, one has to reselect the resp. element for it to be visible I already did some traces on this OPEN ON SELECTED ELEMENT selectionChanged org.eclipse.ui.views.properties.PropertySheet@69231217/null/null/[org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)] partActivated null null [org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)] partActivated null [org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)] null -----------> class org.eclipse.ui.views.properties.PropertySheetPage AFTER MANUAL SELECTION selectionChanged org.eclipse.emf.ecore.presentation.EcoreEditor@7308e2d6/null/[org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)]/null partActivated null [org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)] null partActivated org.eclipse.emf.ecore.presentation.EcoreEditor@7308e2d6 [org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)] null -----------> class org.eclipse.emf.ecore.presentation.EcoreEditor$14 selectionChanged org.eclipse.emf.ecore.presentation.EcoreEditor@7308e2d6/org.eclipse.emf.ecore.presentation.EcoreEditor@7308e2d6/[org.eclipse.emf.ecore.impl.EPackageImpl@4664cd32 (name: bug434102) (nsURI: uri, nsPrefix: prefix)]/null So it seems, that on opening the view on a selected element, the wrong part -> PropertySheet is selected, not aware of how to handle an EPackageImpl selection. on the manual selection, the EcoreEditor is used which knows about it, showing the correct properties.
*** This bug has been marked as a duplicate of bug 425525 ***