|
|
|
@ -631,9 +631,16 @@ public class EditingMouseListener extends MouseInputAdapter {
|
|
|
|
|
selectionModel.selectACreatorAtMouseEvent(e); |
|
|
|
|
refreshTopXCreator(); |
|
|
|
|
XCreator[] xCreators = selectionModel.getSelection().getSelectedCreators(); |
|
|
|
|
for (XCreator xCreator : xCreators) { |
|
|
|
|
xCreator.setSelected(true); |
|
|
|
|
} |
|
|
|
|
// 放到事件队尾执行
|
|
|
|
|
SwingUtilities.invokeLater(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
for (XCreator xCreator : xCreators) { |
|
|
|
|
xCreator.setSelected(true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
} else if (clickedNonCardButton && responseTabLayout(oldCreator, e)) { |
|
|
|
|
// do nothing
|
|
|
|
|
} else { |
|
|
|
|