Browse Source

Merge pull request #10 in ~HADES/design from ~JOE.JIANG/design:REPORT-17192 to release/10.0

* commit '514f3e64081b9cee67dee5c11bac5878fbd42e48':
  REPORT-17192 模板Web属性中,分页预览设置,采用服务器设置双击置灰工具栏可弹出编辑框
feature/big-screen
Hades 5 years ago
parent
commit
e612e46ecf
  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);
isEnabled = b;
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) {

Loading…
Cancel
Save