List of usage examples for com.vaadin.ui Link setId
@Override public void setId(String id)
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createMainViewPageLink() { final Link pageLink = new Link(MAIN_VIEW_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + CommonsViews.MAIN_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_MAIN_VIEW.name()); pageLink.setIcon(FontAwesome.STAR);/* w w w . ja v a 2s. c o m*/ return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createRegisterPageLink() { final Link pageLink = new Link("Register", new ExternalResource( LINK_SEPARATOR + CommonsViews.MAIN_VIEW_NAME + PAGE_SEPARATOR + ApplicationPageMode.REGISTER)); pageLink.setId(ViewAction.VISIT_REGISTER.name()); pageLink.setIcon(FontAwesome.USER_PLUS); return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createLoginPageLink() { final Link pageLink = new Link("Login", new ExternalResource( LINK_SEPARATOR + CommonsViews.MAIN_VIEW_NAME + PAGE_SEPARATOR + ApplicationPageMode.LOGIN)); pageLink.setId(ViewAction.VISIT_LOGIN.name()); pageLink.setIcon(FontAwesome.SIGN_IN); return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createCountryRankingViewPageLink() { final Link pageLink = new Link(COUNTRY_RANKING_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + UserViews.COUNTRY_RANKING_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_TEST_CHART_VIEW.name()); pageLink.setIcon(FontAwesome.FLAG);//from ww w .ja v a 2s . co m return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createParliamentViewPageLink() { final Link pageLink = new Link(PARLIAMENT_RANKING_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + UserViews.PARLIAMENT_RANKING_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_TEST_CHART_VIEW.name()); pageLink.setIcon(FontAwesome.INSTITUTION); return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createMinistryRankingViewPageLink() { final Link pageLink = new Link(MINISTRY_RANKING_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + UserViews.MINISTRY_RANKING_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_MINISTRY_RANKING_VIEW.name()); pageLink.setIcon(FontAwesome.GROUP); return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createCommitteeRankingViewPageLink() { final Link pageLink = new Link(COMMITTEE_RANKING_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + UserViews.COMMITTEE_RANKING_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_COMMITTEE_RANKING_VIEW.name()); pageLink.setIcon(FontAwesome.GROUP); return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createPartyRankingViewPageLink() { final Link pageLink = new Link(PARTY_RANKING_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + UserViews.PARTY_RANKING_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_PARTY_RANKING_VIEW.name()); pageLink.setIcon(FontAwesome.GROUP); return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createPoliticianRankingViewPageLink() { final Link pageLink = new Link(POLITICIAN_RANKING_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + UserViews.POLITICIAN_RANKING_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_POLITICIAN_RANKING_VIEW.name()); pageLink.setIcon(FontAwesome.BUG);/*from w w w . j a va 2 s . c o m*/ return pageLink; }
From source file:com.hack23.cia.web.impl.ui.application.views.common.pagelinks.impl.PageLinkFactoryImpl.java
License:Apache License
@Override public Link createAdminDataSummaryViewPageLink() { final Link pageLink = new Link(ADMIN_DATA_SUMMARY_LINK_TEXT, new ExternalResource(LINK_SEPARATOR + AdminViews.ADMIN_DATA_SUMMARY_VIEW_NAME)); pageLink.setId(ViewAction.VISIT_ADMIN_DATA_SUMMARY_VIEW.name()); pageLink.setIcon(FontAwesome.DATABASE); return pageLink; }