List of usage examples for com.vaadin.server FontAwesome COG
FontAwesome COG
To view the source code for com.vaadin.server FontAwesome COG.
Click Source Link
From source file:org.eclipse.hawkbit.ui.components.ConfigMenuBar.java
License:Open Source License
private void init() { setId(id);//from w ww. ja v a 2 s . c om if (!createPermission && !updatePermission && !deletePermission) { return; } setStyleName(ValoTheme.MENUBAR_BORDERLESS); addStyleName(SPUIStyleDefinitions.CONFIG_MENU_BAR_POSITION); config = addItem("", FontAwesome.COG, null); config.setStyleName(SPUIStyleDefinitions.CONFIG_MENU_BAR_ITEMS); config.setDescription(i18n.getMessage(UIMessageIdProvider.TOOLTIP_CONFIGURE)); addMenuItems(); }
From source file:org.eclipse.hawkbit.ui.management.targettag.MultipleTargetFilter.java
License:Open Source License
/** * Intialize component.//w ww . j a v a2s . co m */ private void buildComponents() { filterByStatusFotter.init(); filterByButtons.addStyleName(SPUIStyleDefinitions.NO_TOP_BORDER); targetFilterQueryButtonsTab.init(customTargetTagFilterButtonClick); if (permChecker.hasCreateTargetPermission() || permChecker.hasUpdateTargetPermission()) { config = SPUIComponentProvider.getButton(UIComponentIdProvider.ADD_TARGET_TAG, "", "", "", true, FontAwesome.COG, SPUIButtonStyleSmallNoBorder.class); config.addClickListener(event -> settingsIconClicked()); } addStyleName(ValoTheme.ACCORDION_BORDERLESS); addTabs(); setSizeFull(); switchToTabSelectedOnLoad(); addSelectedTabChangeListener(this); }
From source file:org.eclipse.hawkbit.ui.tenantconfiguration.TenantConfigurationDashboardViewMenuItem.java
License:Open Source License
@Override public Resource getDashboardIcon() { return FontAwesome.COG; }
From source file:pl.exsio.frameset.vaadin.account.menu.presenter.AccountMenuPresenterImpl.java
License:Open Source License
protected Button getSettingsButton(final User user) { final AccountWindowPresenter.AccountEditionListener listener = this; Button accountSettings = new NativeButton(t("core.account.settings")); accountSettings.setIconAlternateText(t("core.account.settings")); accountSettings.setIcon(FontAwesome.COG); accountSettings.setStyleName("account-settings"); accountSettings.addClickListener(new Button.ClickListener() { @Override// w w w .j a v a2 s .c o m public void buttonClick(Button.ClickEvent event) { AccountWindowPresenter window = ctx.getBean(AccountWindowPresenter.class); window.addAccountEditionListener(listener); window.show(); } }); return accountSettings; }