Bug 56818 [PropertiesView] Clicking on Advanced Properties toggle when categories are collapsed removes the + next to the category
Clicking on Advanced Properties toggle when categories are collapsed removes the plus sign (+) next to the category and it can no longer be expanded. To reproduce: 1.)Open the Properties view. 2.)Have Show Categories turned on, and Show Advanced Properties turned off. 3.)Collapse all open categories. 4.)Click the Show Advanced Properties button. 5.)Note the plus sign goes away and the categories can no longer be expanded. You need to click the Show Advanced Properties button off to see the plus sign again.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetViewer.java
public void valueChanged(IPropertySheetEntry entry) {
				
				TableTreeItem item = findItem(entry);
				if (item != null)
					updateEntry(entry, item);
			}
			public void errorMessageChanged(IPropertySheetEntry entry) {
				
				setErrorMessage(entry.getErrorText());
			}
		};
	}
	/**
	 * Creates a new table tree item, sets the given entry or category (node)in
	 * its user data field, and adds a listener to the node if it is an entry.
	 * 
	 * @param node
	 *            the entry or category associated with this item
	 * @param parent
	 *            the parent widget
	 * @param index
	 *            indicates the position to insert the item into its parent
	 */
	private void createItem(Object node, Widget parent, int i) {
		
		TableTreeItem item;
		if (parent instanceof TableTreeItem)
			item = new TableTreeItem((TableTreeItem) parent, SWT.NONE, i);
		else
			item = new TableTreeItem((TableTree) parent, SWT.NONE, i);