src/sap.ui.fl/src/sap/ui/fl/support/apps/contentbrowser/controller/LayerContentMaster.controller.js
function () {
			if (!this.sNamespace || this.sNamespace === '/') {
				return "[" + this.sLayer + "] /";
			}

			var aSplittedNamespace = this.sNamespace.split('/');
			var sNamespaceDepth = aSplittedNamespace.length;
			if (sNamespaceDepth > 2) {
				return "[" + this.sLayer + "] .../" + aSplittedNamespace[sNamespaceDepth - 2];
			}

			return "[" + this.sLayer + "] /" + this.sNamespace[sNamespaceDepth - 1];
		}
function () {
			if (!this.sNamespace || this.sNamespace === '/') {
				return "[" + this.sLayer + "] /";
			}

			var aSplittedNamespace = this.sNamespace.split('/');
			var sNamespaceDepth = aSplittedNamespace.length;
			if (sNamespaceDepth > 2) {
				return "[" + this.sLayer + "] .../" + aSplittedNamespace[sNamespaceDepth - 2];
			}

			return "[" + this.sLayer + "] /" + this.sNamespace[sNamespaceDepth - 1];
		}
function ( ) { if ( ! this . sNamespace || this . sNamespace === '/' ) { return "[" + this . sLayer + "] /" ; } var aSplittedNamespace = this . sNamespace . split ( '/' ) ; var sNamespaceDepth = aSplittedNamespace . length ; if ( sNamespaceDepth > 2 ) { return "[" + this . sLayer + "] .../" + aSplittedNamespace [ sNamespaceDepth - 2 ] ; } return "[" + this . sLayer + "] /" + this . sNamespace [ sNamespaceDepth - 1 ] ; }
Formatter to shorten namespaces with multiple hierarchies;
If the hierarchy has more than two levels only the first and last levels are shown.
@returns {String} - shortened namespace for display
@private
Formatter to shorten namespaces with multiple hierarchies ; If the hierarchy has more than two levels only the first and last levels are shown .