|
|
@ -3,6 +3,8 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package com.fr.design.designer.beans.location; |
|
|
|
package com.fr.design.designer.beans.location; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.config.ServerPreferenceConfig; |
|
|
|
|
|
|
|
import com.fr.config.utils.ConfigReadUtils; |
|
|
|
import com.fr.design.beans.location.Absorptionline; |
|
|
|
import com.fr.design.beans.location.Absorptionline; |
|
|
|
import com.fr.design.beans.location.MoveUtils; |
|
|
|
import com.fr.design.beans.location.MoveUtils; |
|
|
|
import com.fr.design.designer.creator.*; |
|
|
|
import com.fr.design.designer.creator.*; |
|
|
@ -193,7 +195,11 @@ public abstract class AccessDirection implements Direction { |
|
|
|
if (type != formEditor.getCursor().getType()) { |
|
|
|
if (type != formEditor.getCursor().getType()) { |
|
|
|
// 设置当前形状
|
|
|
|
// 设置当前形状
|
|
|
|
formEditor.setCursor(Cursor.getPredefinedCursor(type)); |
|
|
|
formEditor.setCursor(Cursor.getPredefinedCursor(type)); |
|
|
|
formEditor.setToolTipText(getTooltip()); |
|
|
|
ServerPreferenceConfig config = ServerPreferenceConfig.getInstance(); |
|
|
|
|
|
|
|
if (!config.isHasShownLockedAspectRatioResizingToolTip()) { |
|
|
|
|
|
|
|
formEditor.setToolTipText(getTooltip()); |
|
|
|
|
|
|
|
config.setHasShownLockedAspectRatioResizingToolTip(true); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|