basic viewstate functionality encapsulated and unit tested in selection-manager, clipboard-manager, tree-view-manager.