TableTransferable tt = (TableTransferable) transferable;
Object fromItemId = tt.getItemId();
// get the active selection, but only if we drag from the same table
Set<?> selection = m_associations.isActiveTable(tt.getSourceComponent()) ? m_associations.getActiveSelection() : null;
if (targetDetails instanceof AbstractSelectTargetDetails) {
AbstractSelectTargetDetails ttd = (AbstractSelectTargetDetails) targetDetails;
Object toItemId = ttd.getItemIdOver();
if (tt.getSourceComponent().equals(m_left)) {
if (selection != null) {
for (Object item : selection) {
associateFromLeft((String) item, (String) toItemId);
}