PageCommandPartyRankingConstants.java

  1. package com.hack23.cia.web.impl.ui.application.views.common.menufactory.api.pagecommands;

  2. import com.hack23.cia.web.impl.ui.application.views.common.pagelinks.api.PageModeMenuCommand;
  3. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.ChartIndicators;
  4. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.PageMode;
  5. import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;

  6. /**
  7.  * The Interface PageCommandPartyRankingConstants.
  8.  */
  9. public interface PageCommandPartyRankingConstants {

  10.     /** The command party ranking overview. */
  11.     PageModeMenuCommand COMMAND_PARTY_RANKING_OVERVIEW = new PageModeMenuCommand(
  12.         UserViews.PARTY_RANKING_VIEW_NAME, PageMode.OVERVIEW);

  13.     /** The command party ranking datagrid. */
  14.     PageModeMenuCommand COMMAND_PARTY_RANKING_DATAGRID = new PageModeMenuCommand(
  15.             UserViews.PARTY_RANKING_VIEW_NAME, PageMode.DATAGRID);


  16.     /** The party ranking command pagevisit history. */
  17.     PageModeMenuCommand PARTY_RANKING_COMMAND_PAGEVISIT_HISTORY =
  18.             new PageModeMenuCommand(UserViews.PARTY_RANKING_VIEW_NAME, PageMode.PAGEVISITHISTORY);

  19.     /** The command charts current government parties. */
  20.     PageModeMenuCommand COMMAND_CHARTS_CURRENT_GOVERNMENT_PARTIES = new PageModeMenuCommand(
  21.                      UserViews.PARTY_RANKING_VIEW_NAME, PageMode.CHARTS,
  22.                      ChartIndicators.CURRENTGOVERMENTPARTIES.toString());

  23.     /** The command party leader scoreboard. */
  24.     PageModeMenuCommand COMMAND_PARTY_LEADER_SCOREBOARD = new PageModeMenuCommand(
  25.         UserViews.PARTY_RANKING_VIEW_NAME, PageMode.CHARTS, ChartIndicators.CURRENTPARTYLEADERSCORECARD.toString());


  26.     /** The command party ranking charts all parties. */
  27.     PageModeMenuCommand COMMAND_PARTY_RANKING_CHARTS_ALL_PARTIES = new PageModeMenuCommand(
  28.         UserViews.PARTY_RANKING_VIEW_NAME, PageMode.CHARTS, ChartIndicators.ALLPARTIES.toString());


  29.     /** The command party ranking charts current committees. */
  30.     PageModeMenuCommand COMMAND_PARTY_RANKING_CHARTS_CURRENT_COMMITTEES = new PageModeMenuCommand(
  31.             UserViews.PARTY_RANKING_VIEW_NAME, PageMode.CHARTS,ChartIndicators.CURRENTCOMMITTEES.toString());

  32.     /** The command party ranking charts current parties. */
  33.     PageModeMenuCommand COMMAND_PARTY_RANKING_CHARTS_CURRENT_PARTIES = new PageModeMenuCommand(
  34.         UserViews.PARTY_RANKING_VIEW_NAME, PageMode.CHARTS, ChartIndicators.CURRENTPARTIES.toString());

  35. }