code: function() {
  			var element = this.getInputElement(),
  				cursor = element,
  				tabId;
  			while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 ) {
  
  			}
  
  			// Some widgets don't have parent tabs (e.g. OK and Cancel buttons).
  			if ( !cursor )
  				return this;
  
  			tabId = cursor.getAttribute( 'name' );
  			// Avoid duplicate select.
  			if ( this._.dialog._.currentTabId != tabId )
  				this._.dialog.selectPage( tabId );
  			return this;
  		}
docs: Selects the parent tab of this element. Usually called by focus() or overridden focus() methods.
  
  focus : function() {
  this.selectParentTab();
  // do something else.
  }
  
  @chainable