* may override this method to disable or modify the feature.
* @param controller the controller used by this {@link CControl}
* @see #setTransferFocusOnMinimize(boolean)
*/
protected void initTransferFocusOnMinimize( DockController controller ){
addStateListener( new CDockableAdapter(){
@Override
public void extendedModeChanged( CDockable dockable, ExtendedMode mode ){
if( transferFocusOnMinimize ){
if( mode == ExtendedMode.MINIMIZED ){
Dockable[] history = getController().getFocusHistory().getHistory();