51525354555657585960
public void addAction(Action action) { assert action != null; if (action.getNormalIconUrl() == null) { panel.add(new ActionToolbarButton(action, popupManagerFactory)); } else { panel.add(new ActionToolbarImage(action, popupManagerFactory)); } }