sap.ui.define([
	'sap/ui/core/mvc/Controller',
	'sap/m/MessageToast',
	'sap/ui/model/json/JSONModel'
], function(Controller, MessageToast, JSONModel) {
"use strict";

	return Controller.extend("sap.m.sample.MultiComboBoxSuggestionsAndValueState.controller.MultiComboBoxSuggestionsAndValueState", {
		onInit: function () {
			// set explored app's demo model on this sample
			var oModel = new JSONModel(sap.ui.require.toUrl("sap/ui/demo/mock/products.json"));
			this.getView().setModel(oModel);
		},
		handleValueStateLinkPress: function (oEvent) {
			MessageToast.show("Link in value state pressed");
		}
	});
});