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