citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java
@Override
	public void createCommitteeRankingTopics(final MenuItem committeeMenuItem) {
		committeeMenuItem.addItem(OVERVIEW_TEXT, VaadinIcons.GROUP, COMMAND_OVERVIEW);

		final MenuItem listByTopic = committeeMenuItem.addItem(RANKING_LIST_BY_TOPIC_TEXT, VaadinIcons.GROUP, null);

		final MenuItem listItem = listByTopic.addItem(POLITICAL_WORK_SUMMARY_TEXT,VaadinIcons.GROUP, COMMAND_DATAGRID);
		listItem.setDescription(CURRENT_AND_PAST_MEMBER_AND_SUMMARY_OF_POLTICIAL_DAYS);

		final MenuItem chartByTopic = committeeMenuItem.addItem(CHART_BY_TOPIC_TEXT, VaadinIcons.GROUP, null);


		chartByTopic.addItem(CURRENT_COMMITTEES_CURRENT_MEMBERS_TEXT,VaadinIcons.GROUP, COMMAND_CURRENT_COMMITTEES_BY_HEADCOUNT);
		chartByTopic.addItem(CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_CURRENT_ASSIGNMENTS,VaadinIcons.GROUP, COMMAND_COMMITTEES_BY_PARTY);
		chartByTopic.addItem(CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_TOTAL_DAYS_SERVED_IN_COMMITTEES,VaadinIcons.GROUP, COMMAND_CURRENT_COMMITTEES_BY_PARTY_DAYS_SERVED);

		chartByTopic.addItem(ALL_COMMITTEES_TOTAL_MEMBERS,VaadinIcons.GROUP, COMMAND_ALL_COMMITTEES_BY_HEADCOUNT);

		committeeMenuItem.addItem(PAGE_VISIT_HISTORY_TEXT, VaadinIcons.GROUP, COMMAND_PAGEVISIT_HISTORY);

	}
@Override
	public void createCommitteeRankingTopics(final MenuItem committeeMenuItem) {
		committeeMenuItem.addItem(OVERVIEW_TEXT, VaadinIcons.GROUP, COMMAND_OVERVIEW);

		final MenuItem listByTopic = committeeMenuItem.addItem(RANKING_LIST_BY_TOPIC_TEXT, VaadinIcons.GROUP, null);

		final MenuItem listItem = listByTopic.addItem(POLITICAL_WORK_SUMMARY_TEXT,VaadinIcons.GROUP, COMMAND_DATAGRID);
		listItem.setDescription(CURRENT_AND_PAST_MEMBER_AND_SUMMARY_OF_POLTICIAL_DAYS);

		final MenuItem chartByTopic = committeeMenuItem.addItem(CHART_BY_TOPIC_TEXT, VaadinIcons.GROUP, null);


		chartByTopic.addItem(CURRENT_COMMITTEES_CURRENT_MEMBERS_TEXT,VaadinIcons.GROUP, COMMAND_CURRENT_COMMITTEES_BY_HEADCOUNT);
		chartByTopic.addItem(CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_CURRENT_ASSIGNMENTS,VaadinIcons.GROUP, COMMAND_COMMITTEES_BY_PARTY);
		chartByTopic.addItem(CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_TOTAL_DAYS_SERVED_IN_COMMITTEES,VaadinIcons.GROUP, COMMAND_CURRENT_COMMITTEES_BY_PARTY_DAYS_SERVED);

		chartByTopic.addItem(ALL_COMMITTEES_TOTAL_MEMBERS,VaadinIcons.GROUP, COMMAND_ALL_COMMITTEES_BY_HEADCOUNT);

		committeeMenuItem.addItem(PAGE_VISIT_HISTORY_TEXT, VaadinIcons.GROUP, COMMAND_PAGEVISIT_HISTORY);

	}
@ Override public void createCommitteeRankingTopics ( final MenuItem committeeMenuItem ) { committeeMenuItem . addItem ( OVERVIEW_TEXT , VaadinIcons . GROUP , COMMAND_OVERVIEW ) ; final MenuItem listByTopic = committeeMenuItem . addItem ( RANKING_LIST_BY_TOPIC_TEXT , VaadinIcons . GROUP , null ) ; final MenuItem listItem = listByTopic . addItem ( POLITICAL_WORK_SUMMARY_TEXT , VaadinIcons . GROUP , COMMAND_DATAGRID ) ; listItem . setDescription ( CURRENT_AND_PAST_MEMBER_AND_SUMMARY_OF_POLTICIAL_DAYS ) ; final MenuItem chartByTopic = committeeMenuItem . addItem ( CHART_BY_TOPIC_TEXT , VaadinIcons . GROUP , null ) ; chartByTopic . addItem ( CURRENT_COMMITTEES_CURRENT_MEMBERS_TEXT , VaadinIcons . GROUP , COMMAND_CURRENT_COMMITTEES_BY_HEADCOUNT ) ; chartByTopic . addItem ( CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_CURRENT_ASSIGNMENTS , VaadinIcons . GROUP , COMMAND_COMMITTEES_BY_PARTY ) ; chartByTopic . addItem ( CURRENT_PARTIES_ACTIVE_IN_COMMITTEES_TOTAL_DAYS_SERVED_IN_COMMITTEES , VaadinIcons . GROUP , COMMAND_CURRENT_COMMITTEES_BY_PARTY_DAYS_SERVED ) ; chartByTopic . addItem ( ALL_COMMITTEES_TOTAL_MEMBERS , VaadinIcons . GROUP , COMMAND_ALL_COMMITTEES_BY_HEADCOUNT ) ; committeeMenuItem . addItem ( PAGE_VISIT_HISTORY_TEXT , VaadinIcons . GROUP , COMMAND_PAGEVISIT_HISTORY ) ; }
Creates the committee ranking topics.

@param committeeMenuItem
the committee menu item
Creates the committee ranking topics .