//>>built
define("mill/jssupport/jsApplication/controls/_WidgetTitleMixin",["dojo/_base/declare","dijit/Tooltip","mill/jssupport/base"],function(d,e,c){return mill.registerAlias("app.view._WidgetTitleMixin",d("mill.jssupport.jsApplication.controls._WidgetTitleMixin",null,{title:null,description:null,titleIdent:null,titleWidget:null,tooltipWidget:null,postMixInProperties:function(){this.inherited(arguments);this.title=this.getTitle()},_setTitleAttr:function(){return function(a){this.title=a;this.titleWidget.set("text",
this.title);this.tooltipWidget&&this.tooltipWidget.set("label",this.titleWidget.textValue)}}(),getTitle:function(){var a=this.description||"";if(this.titleIdent){var b=window.app.combinedTranslationIdent(this.titleIdent);b&&c.getLocalization(b)?a=b:c.getLocalization(this.titleIdent)&&(a=this.titleIdent)}return a},startup:function(){this.inherited(arguments);this.titleWidget&&this.titleWidget.id&&(this.tooltipWidget=new e({connectId:[this.titleWidget.id],label:this.titleWidget.textValue,position:["above",
"below","after","before"]}))}}))});