|
|
|
@ -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); |
|
|
|
|