Bug 325743 [PropertiesView] Blank display when maximize Properties view for a resource in a different view
Build Identifier: M20100211-1343 The properties view displays the properties information successfully when maximize the properties view for a file resource that resides in the same view within the Eclipse Workbench. It is when the file resource does not reside in the same view as the Properties View that maximizing the Properties View shows a blank view. This problem does not occur in Eclipse 3.4.1 but does occur in Eclipse 3.5 and 3.6. Reproducible: Always Steps to Reproduce: 1. Click on Properties for a file resource in view that is in a different view than the Properties View. 2. Click on maximize in the Properties view. 3. The data in the Properties View is gone.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheet.java
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.ISaveablePart;
import org.eclipse.ui.ISelectionListener;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.internal.views.ViewsPlugin;
import org.eclipse.ui.internal.views.properties.PropertiesMessages;
import org.eclipse.ui.part.IContributedContentsView;
import org.eclipse.ui.part.IPage;
import org.eclipse.ui.part.IPageBookViewPage;
import org.eclipse.ui.part.IShowInSource;
import org.eclipse.ui.part.IShowInTarget;
import org.eclipse.ui.part.PageBook;
import org.eclipse.ui.part.PageBookView;
import org.eclipse.ui.part.ShowInContext;
/**
 * Main class for the Property Sheet View.
 * <p>
 * This standard view has id <code>"org.eclipse.ui.views.PropertySheet"</code>.
 * </p>
 * <p>
 * Note that property <it>sheets</it> and property sheet pages are not the
 * same thing as property <it>dialogs</it> and their property pages (the property