|
|
|
@ -296,15 +296,9 @@ public class AuthorityToolBarPane<T extends WebContent> extends BasicBeanPane<Re
|
|
|
|
|
if (toolBarManager.length == 0) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
ToolBar resultToolbar = toolBarManager[0].getToolBar(); |
|
|
|
|
for (int i = 1; i < toolBarManager.length; i++) { |
|
|
|
|
ToolBar toolBar = toolBarManager[i].getToolBar(); |
|
|
|
|
for (int j = 0; j < toolBar.getWidgetSize(); j++) { |
|
|
|
|
Widget widget = toolBar.getWidget(j); |
|
|
|
|
resultToolbar.addWidget(widget); |
|
|
|
|
} |
|
|
|
|
for (int i = 0; i < toolBarManager.length; i++) { |
|
|
|
|
toolBarPane.populateBean(toolBarManager[i].getToolBar()); |
|
|
|
|
} |
|
|
|
|
toolBarPane.populateBean(resultToolbar); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|