Browse Source

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

newui
renekton 5 months ago
parent
commit
cf18662384
  1. 2
      designer-base/src/main/java/com/fr/design/actions/server/ConnectionListAction.java
  2. 2
      designer-base/src/main/java/com/fr/design/actions/server/GlobalTableDataAction.java
  3. 1
      designer-base/src/main/java/com/fr/design/gui/imenu/UILockMenuItem.java

2
designer-base/src/main/java/com/fr/design/actions/server/ConnectionListAction.java

@ -1,6 +1,7 @@
package com.fr.design.actions.server;
import com.fine.theme.icon.LazyIcon;
import com.fine.theme.utils.FineClientProperties;
import com.fr.data.impl.Connection;
import com.fr.design.actions.UpdateAction;
import com.fr.design.data.datapane.connect.ConnectionShowPane;
@ -115,6 +116,7 @@ public class ConnectionListAction extends UpdateAction {
Object object = this.getValue(UILockMenuItem.class.getName());
if (object == null && !(object instanceof UILockMenuItem)) {
UILockMenuItem menuItem = new UILockMenuItem(this, EditLockUtils.CONNECTION_LOCKED_TOOLTIPS, null, LockItem.CONNECTION);
menuItem.putClientProperty(FineClientProperties.MENU_ITEM_TYPE, null);
// 设置名字用作单元测
menuItem.setName(getName());
setPressedIcon4Button(menuItem);

2
designer-base/src/main/java/com/fr/design/actions/server/GlobalTableDataAction.java

@ -4,6 +4,7 @@
package com.fr.design.actions.server;
import com.fine.theme.icon.LazyIcon;
import com.fine.theme.utils.FineClientProperties;
import com.fr.base.TableData;
import com.fr.design.DesignModelAdapter;
import com.fr.design.actions.UpdateAction;
@ -176,6 +177,7 @@ public class GlobalTableDataAction extends UpdateAction implements ResponseDataS
Object object = this.getValue(UILockMenuItem.class.getName());
if (object == null && !(object instanceof UILockMenuItem)) {
UILockMenuItem menuItem = new UILockMenuItem(this, EditLockUtils.SERVER_TABLEDATA_LOCKED_TOOLTIPS, null, LockItem.SERVER_TABLE_DATA);
menuItem.putClientProperty(FineClientProperties.MENU_ITEM_TYPE, null);
// 设置名字用作单元测
menuItem.setName(getName());
setPressedIcon4Button(menuItem);

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

@ -33,6 +33,7 @@ public class UILockMenuItem extends UIMenuItem implements EditLockChangeListener
this.lockedTooltips = lockedTooltips;
this.normalTooltips = normalTooltips;
this.lockItem = lockItem;
this.putClientProperty(FineClientProperties.MENU_ITEM_TYPE, FineClientProperties.MENU_ITEM_TYPE_LOCK);
}
public LockItem getLockItem() {

Loading…
Cancel
Save