Browse Source

REPORT-17192 模板Web属性中,分页预览设置,采用服务器设置双击置灰工具栏可弹出编辑框

feature/big-screen
Joe.Jiang 5 years ago
parent
commit
514f3e6408
  1. 9
      designer-realize/src/main/java/com/fr/design/webattr/ToolBarDragPane.java

9
designer-realize/src/main/java/com/fr/design/webattr/ToolBarDragPane.java

@ -227,6 +227,15 @@ public class ToolBarDragPane extends WidgetToolBarPane {
GUICoreUtils.setEnabled(this, b); GUICoreUtils.setEnabled(this, b);
isEnabled = b; isEnabled = b;
removeAllListener(northToolBar.getToolBarButtons()); removeAllListener(northToolBar.getToolBarButtons());
removeAllListener(southToolBar.getToolBarButtons());
removeToolBarListener(northToolBar);
removeToolBarListener(southToolBar);
}
private void removeToolBarListener(ToolBarPane toolBarPane) {
if (!isEnabled) {
toolBarPane.removeDefaultMouseListener();
}
} }
private void removeAllListener(List<ToolBarButton> toolBarButtons) { private void removeAllListener(List<ToolBarButton> toolBarButtons) {

Loading…
Cancel
Save