/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2018 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(["./MainAction"], function(MainAction) {
"use strict";
/**
* Constructor for a new TitleMainAction
.
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
* @param {object} [mSettings] Custom initial settings for the new control
*
* @class
* A semantic-specific button, eligible for the titleMainAction
aggregation of the
* {@link sap.f.semantic.SemanticPage} to be placed in its title.
*
* @extends sap.f.semantic.MainAction
*
* @author SAP SE
* @version 1.60.23
*
* @constructor
* @public
* @since 1.46.0
* @alias sap.f.semantic.TitleMainAction
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
*/
var TitleMainAction = MainAction.extend("sap.f.semantic.TitleMainAction", /** @lends sap.f.semantic.TitleMainAction.prototype */ {
metadata: {
library: "sap.f"
}
});
return TitleMainAction;
});