protected class SplitInserter extends DockStationAdapter {
public void dockableAdded( DockStation station, final Dockable dockable ){
if( !(dockable instanceof SplitDockStation) ) {
DockHierarchyLock lock = control.getController().getHierarchyLock();
lock.onRelease( new Runnable(){
public void run(){
checkAndReplace( dockable );
}
});
}