|
|
@ -24,6 +24,7 @@ import java.awt.Cursor; |
|
|
|
import java.awt.Graphics; |
|
|
|
import java.awt.Graphics; |
|
|
|
import java.awt.Point; |
|
|
|
import java.awt.Point; |
|
|
|
import java.awt.Rectangle; |
|
|
|
import java.awt.Rectangle; |
|
|
|
|
|
|
|
import java.awt.Toolkit; |
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
|
|
|
@ -183,6 +184,9 @@ public class StateModel { |
|
|
|
FormSelectionUtils.rebuildSelection(designer); |
|
|
|
FormSelectionUtils.rebuildSelection(designer); |
|
|
|
designer.getEditListenerTable().fireCreatorModified( |
|
|
|
designer.getEditListenerTable().fireCreatorModified( |
|
|
|
selectionModel.getSelection().getSelectedCreator(), DesignerEvent.CREATOR_ADDED); |
|
|
|
selectionModel.getSelection().getSelectedCreator(), DesignerEvent.CREATOR_ADDED); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
selectionModel.getSelection().setSelectionBounds(selectedPositionBackup, designer); |
|
|
|
|
|
|
|
Toolkit.getDefaultToolkit().beep(); |
|
|
|
} |
|
|
|
} |
|
|
|
// 取消提示
|
|
|
|
// 取消提示
|
|
|
|
designer.setPainter(null); |
|
|
|
designer.setPainter(null); |
|
|
|