Bug 228760 [Markers] Column orientation not stored when markers views are closed
If we re-order view columns by drag and drop or add/remove them using the preferences the values we ended up with are not restored on restart.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/ExtendedMarkersView.java
} else
					getCategoriesToExpand().add(next);
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.part.ViewPart#saveState(org.eclipse.ui.IMemento)
	 */
	public void saveState(IMemento memento) {
		super.saveState(memento);
		memento.putString(TAG_GENERATOR, builder.getGenerator().getId());
		memento.putString(TAG_PART_NAME, getPartName());
		if (!getCategoriesToExpand().isEmpty()) {
			IMemento expanded = memento.createChild(TAG_EXPANDED);
			Iterator categories = getCategoriesToExpand().iterator();
			while (categories.hasNext()) {
				expanded.createChild(TAG_CATEGORY, (String) categories.next());
			}
		}
		builder.saveState(memento);
		IMemento columnEntry = memento.createChild(TAG_COLUMN_WIDTHS);
		TreeColumn[] columns = viewer.getTree().getColumns();
		for (int i = 0; i < columns.length; i++) {
			columnEntry.putInteger(getFieldId(columns[i]), columns[i]
					.getWidth());
		}
	}
	/**