delegate = new CommonFlapDockPerspective();
}
public void setPerspective( CPerspective perspective ){
if( this.perspective != null ){
CMinimizedModePerspective mode = (CMinimizedModePerspective) this.perspective.getLocationManager().getMode( ExtendedMode.MINIMIZED );
mode.remove( this.mode );
}
this.perspective = perspective;
if( this.perspective != null ){
CMinimizedModePerspective mode = (CMinimizedModePerspective) this.perspective.getLocationManager().getMode( ExtendedMode.MINIMIZED );
mode.add( this.mode );
}
}