6970717273747576777879
} @Override public void removeAllChild() { JMenuBar origin = (JMenuBar) getWidget(); origin.removeAll(); } @Override public boolean removeChild(Component child) { JMenuAdapter jmenuAdapter=(JMenuAdapter)WidgetAdapter.getWidgetAdapter(child);
308309310311312313314315316317318
JMenuBar menuBar = getJMenuBar(); if (menuBar == null) { menuBar = new JMenuBar(); } else { menuBar.removeAll(); } addMenus(menuBar, getPrefixMenus()); for (int i = 0; i < this.rootEditors.size(); i++) {
334335336337338339340341342343344
JMenuBar menuBar = getJMenuBar(); if (menuBar == null) { menuBar = new JMenuBar(); } else { menuBar.removeAll(); } addMenus(menuBar, getPrefixMenus()); if (isGlobalMenu()) {
309310311312313314315316317318319
335336337338339340341342343344345
349350351352353354355356357358359
return null; } if (menuBar == null) { menuBar = new JMenuBar(); } else { menuBar.removeAll(); } for (int i = 0; i < set.getChildCount(); i++) { URLTreeNode<IAction> a = (URLTreeNode<IAction>) set.getChildAt(i); if (!a.isLeaf()) {
272273274275276277278279280281282