toolType == ToolWindowType.FLOATING_FREE ||
toolType == ToolWindowType.FLOATING_LIVE ||
force ||
!sourceTool.isAvailable()) {
PropertyChangeEvent avEvent = new UserPropertyChangeEvent(evt.getSource(), "available", true, false, new Object[]{-1, true});
getBar(oldAnchor).propertyChange(avEvent);
syncPanel(oldAnchor);
assert evt instanceof UserPropertyChangeEvent;
avEvent = new UserPropertyChangeEvent(evt.getSource(), "available", false, true,
new Object[]{((UserPropertyChangeEvent) evt).getUserObject(), true});
getBar(newAnchor).propertyChange(avEvent);
syncPanel(newAnchor);
}