//
if (!desktop.getContext().fireDockableStateWillChange(dscwEvent)) {
return false;
} else {
// also trigger DockingAction
DockingActionEvent dae = new DockingActionSimpleStateChangeEvent(desktop, dockable,
currentState.getLocation(), DockableState.Location.FLOATING);
return desktop.getContext().fireAcceptDockingAction(dae);
}
}