dockingContext.fireDockableStateChange(new DockableStateChangeEvent(currentState,
new DockableState(desktop, dockable, futureLocation)));
}
if (dockingActionEvent instanceof DockingActionDockableEvent) {
DockingActionDockableEvent dde = (DockingActionDockableEvent) dockingActionEvent;
if (dde.getDockable() == dockable) {
dockingContext.fireDockingActionPerformed(dockingActionEvent);
} else {
DockingActionDockableEvent dae = (DockingActionDockableEvent) dde.clone();
dae.setDockable(dockable);
dockingContext.fireDockingActionPerformed(dae);
}
} else if (dockingActionEvent instanceof DockingActionSplitDockableContainerEvent) {
// we're dropping a whole container (currently it is only possible with
// a tabbeddockablecontainer