@Override protected void initEditionTools(Dropdown settingsDropdown) { super.initEditionTools(settingsDropdown); if (reSecurity.isEntryAdmin()) { settingsLink = LinkFactory.createToolLink("metaDataConfig", translate("tab.video.settings"), this); settingsLink.setIconLeftCSS("o_icon o_icon-fw o_icon_quota o_icon_settings"); settingsDropdown.addComponent(4, settingsLink); changeVideoLink = LinkFactory.createToolLink("changeVideo", translate("tab.video.exchange"), this); changeVideoLink.setIconLeftCSS("o_icon o_icon_refresh o_icon-fw"); settingsDropdown.addComponent(3, changeVideoLink); settingsDropdown.addComponent(new Spacer("metadata-poster")); } }
@Override protected void initSettingsTools(Dropdown settingsDropdown) { super.initSettingsTools(settingsDropdown); if (reSecurity.isEntryAdmin()) { settingsDropdown.addComponent(new Spacer("")); deliveryOptionsLink = LinkFactory.createToolLink("layout", translate("tab.layout"), this, "o_sel_repo_layout"); deliveryOptionsLink.setIconLeftCSS("o_icon o_icon-fw o_icon_options"); settingsDropdown.addComponent(deliveryOptionsLink); } }