function SelectPage(ui, page, viewState)
{
	this.ui = ui;
	this.page = page;
	this.previousPage = page;
	this.neverShown = true;
	
	if (page != null)
	{
		this.neverShown = page.viewState == null;
		this.ui.updatePageRoot(page);
		
		if (viewState != null)
		{
			page.viewState = viewState;
			this.neverShown = false;
		}
	}
}
Class: mxCurrentRootChange

Action to change the current root in a view.

Constructor: mxCurrentRootChange

Constructs a change of the current root in the given view.