public void addViewState(View view, String resourceGroup, String stateId) {
		ViewState viewState = new ViewState(this.core, view, new CogaenId(resourceGroup));
		addState(viewState, new CogaenId(stateId));
	}