sap.ui.define([
	"sap/base/util/extend",
	"sap/ui/base/Object",
	"sap/suite/ui/generic/template/lib/BaseNoDataHandler"
], function (
	extend,
	BaseObject,
	BaseNoDataHandler
) {
	"use strict";

	function getMethods() {
		function fnGetIllustratedMessage(oSmartCtrl) {
			return oSmartCtrl.getNoData();
		}

		return {
			getIllustratedMessage: fnGetIllustratedMessage
		};
	}

	return BaseObject.extend("sap.suite.ui.generic.template.lib.TableNoDataHandler", {
		constructor: function (oController, oTemplateUtils, oNoDataConfig) {
			extend(this, new BaseNoDataHandler(oController, oTemplateUtils, {
				oNoDataConfig: oNoDataConfig,
				methods: getMethods()
			}));
		}
	});
});
