private boolean isDockingActionAccepted(DockingActionEvent dae,
			DockableStateWillChangeEvent dse) {
		boolean accepted = context.fireAcceptDockingAction(dae);
		if (accepted) {
			if (dse != null
					&& dae.getInitialLocation() != dae.getNextLocation()) {
				return context.fireDockableStateWillChange(dse);
			} else {
				return true;
			}
		} else {
			return false;
		}
	}