Browse Source

控件管理/报表填报属性/超级链接/服务器参数

newui
renekton 5 months ago
parent
commit
94dac1db99
  1. 5
      designer-base/src/main/java/com/fr/design/gui/imenu/UILockMenuItem.java

5
designer-base/src/main/java/com/fr/design/gui/imenu/UILockMenuItem.java

@ -43,6 +43,11 @@ public class UILockMenuItem extends UIMenuItem implements EditLockChangeListener
@Override
public void updateLockedState(EditLockChangeEvent event) {
this.setToolTipText(event.isLocked() ? lockedTooltips : normalTooltips);
if (event.isLocked()) {
this.putClientProperty(FineClientProperties.MENU_ITEM_TYPE, FineClientProperties.MENU_ITEM_TYPE_LOCK);
} else {
this.putClientProperty(FineClientProperties.MENU_ITEM_TYPE, null);
}
this.repaint();
}
}

Loading…
Cancel
Save