Dockable dockable = event.getDragSource().getDockable();
DockableState.Location initialState = dockable.getDockKey().getLocation();
DockableState.Location nextState = DockableState.Location.DOCKED;
if (dragContainer instanceof TabbedDockableContainer){
event.setDockingAction(new DockingActionSplitDockableContainerEvent(
event.getDesktop(), initialState, nextState,
this, dragContainer, position, 0.5f));
} else {
event.setDockingAction(new DockingActionSplitComponentEvent(
event.getDesktop(), dockable, initialState, nextState,