@ -34,6 +34,7 @@ import com.fr.design.utils.ComponentUtils;
import com.fr.design.utils.gui.GUICoreUtils ;
import com.fr.design.utils.gui.GUICoreUtils ;
import com.fr.design.utils.gui.LayoutUtils ;
import com.fr.design.utils.gui.LayoutUtils ;
import com.fr.general.ComparatorUtils ;
import com.fr.general.ComparatorUtils ;
import com.fr.stable.ArrayUtils ;
import com.fr.stable.Constants ;
import com.fr.stable.Constants ;
import javax.swing.BorderFactory ;
import javax.swing.BorderFactory ;
@ -645,16 +646,15 @@ public class EditingMouseListener extends MouseInputAdapter {
selectionModel . selectACreatorAtMouseEvent ( e ) ;
selectionModel . selectACreatorAtMouseEvent ( e ) ;
refreshTopXCreator ( ) ;
refreshTopXCreator ( ) ;
XCreator [ ] xCreators = selectionModel . getSelection ( ) . getSelectedCreators ( ) ;
XCreator [ ] xCreators = selectionModel . getSelection ( ) . getSelectedCreators ( ) ;
if ( ArrayUtils . getLength ( xCreators ) = = 1 ) {
// 放到事件队尾执行
// 放到事件队尾执行
SwingUtilities . invokeLater ( new Runnable ( ) {
SwingUtilities . invokeLater ( new Runnable ( ) {
@Override
@Override
public void run ( ) {
public void run ( ) {
for ( XCreator xCreator : xCreators ) {
xCreators [ 0 ] . setSelected ( ! e . isShiftDown ( ) & & ! e . isControlDown ( ) ) ;
xCreator . setSelected ( ! e . isShiftDown ( ) & & ! e . isControlDown ( ) ) ;
}
}
}
} ) ;
} ) ;
}
} else if ( clickedNonCardButton & & uneditedTab & & responseTabLayout ( oldCreator , e ) ) {
} else if ( clickedNonCardButton & & uneditedTab & & responseTabLayout ( oldCreator , e ) ) {
// do nothing
// do nothing
} else {
} else {