dojo.provide("dijit.layout.TabContainer");

dojo.require("dijit.layout._TabContainerBase");
dojo.require("dijit.layout.TabController");
dojo.require("dijit.layout.ScrollingTabController");

dojo.declare("dijit.layout.TabContainer",
	dijit.layout._TabContainerBase,
	{
		// summary:
		//		A Container with tabs to select each child (only one of which is displayed at a time).
		// description:
		//		A TabContainer is a container that has multiple panes, but shows only
		//		one pane at a time.  There are a set of tabs corresponding to each pane,
		//		where each tab has the name (aka title) of the pane, and optionally a close button.
	
		// useMenu: [const] Boolean
		//		True if a menu should be used to select tabs when they are too
		//		wide to fit the TabContainer, false otherwise.
		useMenu: true,
	
		// useSlider: [const] Boolean
		//		True if a slider should be used to select tabs when they are too
		//		wide to fit the TabContainer, false otherwise.
		useSlider: true,
	
		// _controllerWidget: String
		//		An optional parameter to overrider the default TabContainer controller used.
		_controllerWidget: null,
	
		_makeController: function(/*DomNode*/ srcNode){
			// summary:
			//		Instantiate tablist controller widget and return reference to it.
			//		Callback from _TabContainerBase.postCreate().
			// tags:
			//		protected extension

			var cls = this.baseClass + "-tabs" + (this.doLayout ? "" : " dijitTabNoLayout"),
				TabController = dojo.getObject(this._controllerWidget);

			return new TabController({
				id: this.id + "_tablist",
				tabPosition: this.tabPosition,
				doLayout: this.doLayout,
				containerId: this.id,
				"class": cls,
				nested: this.nested,
				useMenu: this.useMenu,
				useSlider: this.useSlider,
				tabStripClass: this.tabStrip ? this.baseClass + (this.tabStrip ? "":"No") + "Strip": null
			}, srcNode);
		},

		postMixInProperties: function(){
			this.inherited(arguments);
	
			// Scrolling controller only works for horizontal non-nested tabs
			if(!this._controllerWidget){
				this._controllerWidget = (this.tabPosition == "top" || this.tabPosition == "bottom") && !this.nested ?
							"dijit.layout.ScrollingTabController" : "dijit.layout.TabController";
			}
		}
});


@@ -986,17 +986,16 @@
 %0A%09%0A%09%09// 
-_
 controll
@@ -1054,55 +1054,53 @@
 ride
-r
  the 
-default TabContainer controller used.
+widget used to display the tab labels
 %0A%09%09
-_
 cont
@@ -1113,20 +1113,18 @@
 Widget: 
-null
+%22%22
 ,%0A%09%0A%09%09_m
@@ -1470,25 +1470,24 @@
 Object(this.
-_
 controllerWi
@@ -2005,25 +2005,24 @@
 %09%09%09if(!this.
-_
 controllerWi
@@ -2037,17 +2037,16 @@
 %09%09%09this.
-_
 controll

Make controllerWidget public so that users can set it to something else in markup, although it better to make your own TabContainer subclass in this case so you don't pull in code (specifically ScrollTabController) that you don't need.