Skip to content

Commit

Permalink
Update page headers and descriptions (#6804)
Browse files Browse the repository at this point in the history
Update `createPageHeader` method calls in various `PageModContentFactoryImpl` classes to use new header, page header, and description values instead of `panel.setCaption` and `LabelFactory.createHeader`.

* **CommitteeCurrentMembersHistoryPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Committee History", "Current Members History", and "Tracks and presents historical data about committee members' participation."
  - Remove `panel.setCaption` call.

* **CommitteeDecisionTypeDailySummaryPageModContentFactoryImpl2.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Daily Committee Decisions", "Summary of Decision Types", and "Displays a summary of daily committee decision-making activity."
  - Remove `panel.setCaption` call.

* **CommitteeDocumentActivityPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Committee Documents", "Document Activity Overview", and "Tracks and visualizes the activity associated with committee documents."
  - Remove `panel.setCaption` call.

* **CommitteeDocumentHistoryPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Document History", "Committee Document History", and "Displays the historical progression of documents managed by committees."
  - Remove `panel.setCaption` call.

* **CommitteeMemberHistoryPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Member History", "Committee Member Participation History", and "Analyzes and presents participation trends for committee members."
  - Remove `panel.setCaption` call.

* **CommitteeOverviewPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Committee Overview", "Committee Operations Overview", and "Provides an overview of committee operations for decision-making support."
  - Remove `panel.setCaption` call.

* **CommitteePageVisitHistoryPageModContentFactoryImpl.java**
  - Add `createPageHeader` call.
  - Use "Committee Visits", "Page Visit History for Committees", and "Tracks user interaction with committee pages for analytical purposes." in `createPageHeader` call.
  - Remove `panel.setCaption` call.

* **CommitteeRankingAllCommitteesChartsPageModContentFactoryImpl.java**
  - Add `createPageHeader` call.
  - Use "Committee Rankings", "Ranking of All Committees", and "Provides comparative rankings for committees based on performance or metrics." in `createPageHeader` call.
  - Remove `panel.setCaption` call.

* **MinistryCurrentMembersPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Ministry Members", "Current Members of Ministry", and "Details the current composition of ministry members."
  - Remove `panel.setCaption` call.

* **MinistryDocumentActivityPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Ministry Documents", "Document Activity Overview", and "Tracks and visualizes the activity associated with ministry documents."
  - Remove `panel.setCaption` call.

* **MinistryDocumentHistoryPageModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Document History", "Ministry Document History", and "Displays the historical progression of documents managed by ministries."
  - Remove `panel.setCaption` call.

* **MinistryGovernmentBodiesExpenditureModContentFactoryImpl.java**
  - Replace `LabelFactory.createHeader2Label` with `createPageHeader`.
  - Update `createPageHeader` call to use "Expenditure Analysis", "Government Bodies Expenditure Analysis", and "Provides detailed expenditure data for government bodies under ministries."
  - Remove `panel.setCaption` call.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Hack23/cia?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
pethers authored Dec 9, 2024
1 parent 72fdcc2 commit 6a41e1a
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.service.api.DataContainer;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.CommitteePageMode;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;
import com.hack23.cia.web.impl.ui.application.views.pageclicklistener.PageItemPropertyClickListener;
Expand Down Expand Up @@ -76,7 +75,7 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
final ViewRiksdagenCommittee viewRiksdagenCommittee = getItem(parameters);
getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, CURRENT_MEMBERS);
createPageHeader(panel, panelContent, "Committee History " + viewRiksdagenCommittee.getEmbeddedId().getDetail(), "Current Members History", "Tracks and presents historical data about committee members' participation.");

final DataContainer<ViewRiksdagenCommitteeRoleMember, String> committeeRoleMemberDataContainer = getApplicationManager()
.getDataContainer(ViewRiksdagenCommitteeRoleMember.class);
Expand All @@ -87,7 +86,6 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
ViewRiksdagenCommitteeRoleMember_.detail, ViewRiksdagenCommitteeRoleMember_.active),
CURRENT_MEMBERS, COLUMN_ORDER, HIDE_COLUMNS, LISTENER, null, null);

panel.setCaption(NAME + "::" + COMMITTEE + viewRiksdagenCommittee.getEmbeddedId().getDetail());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.chartfactory.api.DecisionChartDataManager;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.CommitteePageMode;
import com.vaadin.ui.Layout;
import com.vaadin.ui.MenuBar;
Expand All @@ -41,9 +40,6 @@
public final class CommitteeDecisionTypeDailySummaryPageModContentFactoryImpl2
extends AbstractCommitteePageModContentFactoryImpl {

/** The Constant DECISION_TYPE_DAILY_SUMMARY. */
private static final String DECISION_TYPE_DAILY_SUMMARY = "Decision Type Daily Summary";

/** The chart data manager. */
@Autowired
private DecisionChartDataManager chartDataManager;
Expand All @@ -66,11 +62,10 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
final ViewRiksdagenCommittee viewRiksdagenCommittee = getItem(parameters);
getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, DECISION_TYPE_DAILY_SUMMARY);
createPageHeader(panel, panelContent, "Daily Committee Decisions " + viewRiksdagenCommittee.getEmbeddedId().getDetail() , "Summary of Decision Types", "Displays a summary of daily committee decision-making activity.");

chartDataManager.createDecisionTypeChart(panelContent, viewRiksdagenCommittee.getEmbeddedId().getOrgCode());

panel.setCaption(new StringBuilder().append("Committee Decision Type Daily Summary for ").append(viewRiksdagenCommittee.getEmbeddedId().getDetail()).toString());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.chartfactory.api.OrgDocumentChartDataManager;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.CommitteePageMode;
import com.vaadin.ui.Layout;
import com.vaadin.ui.MenuBar;
Expand Down Expand Up @@ -69,12 +68,11 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
final ViewRiksdagenCommittee viewRiksdagenCommittee = getItem(parameters);
getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, DOCUMENT_ACTIVITY);
createPageHeader(panel, panelContent, "Committee Documents " + viewRiksdagenCommittee.getEmbeddedId().getDetail() , "Document Activity Overview", "Tracks and visualizes the activity associated with committee documents.");

chartDataManager.createDocumentHistoryChartByOrg(panelContent,
viewRiksdagenCommittee.getEmbeddedId().getOrgCode());

panel.setCaption(NAME + "::" + COMMITTEE + viewRiksdagenCommittee.getEmbeddedId().getDetail());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.service.api.DataContainer;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.CommitteePageMode;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;
import com.hack23.cia.web.impl.ui.application.views.pageclicklistener.PageItemPropertyClickListener;
Expand Down Expand Up @@ -78,7 +77,7 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, DOCUMENT_HISTORY);
createPageHeader(panel, panelContent, "Document History " + viewRiksdagenCommittee.getEmbeddedId().getDetail(), "Committee Document History", "Displays the historical progression of documents managed by committees.");

final DataContainer<ViewRiksdagenPoliticianDocument, String> politicianDocumentDataContainer = getApplicationManager()
.getDataContainer(ViewRiksdagenPoliticianDocument.class);
Expand All @@ -91,7 +90,6 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
ViewRiksdagenPoliticianDocument_.madePublicDate),
DOCUMENTS, COLUMN_ORDER, HIDE_COLUMNS, LISTENER, null, null);

panel.setCaption(new StringBuilder().append("Committee Document History for ").append(viewRiksdagenCommittee.getEmbeddedId().getDetail()).toString());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.service.api.DataContainer;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.CommitteePageMode;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;
import com.hack23.cia.web.impl.ui.application.views.pageclicklistener.PageItemPropertyClickListener;
Expand Down Expand Up @@ -76,7 +75,7 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, MEMBER_HISTORY);
createPageHeader(panel, panelContent, "Member History " + viewRiksdagenCommittee.getEmbeddedId().getDetail(), "Committee Member Participation History", "Analyzes and presents participation trends for committee members.");

final DataContainer<ViewRiksdagenCommitteeRoleMember, String> committeeRoleMemberDataContainer = getApplicationManager()
.getDataContainer(ViewRiksdagenCommitteeRoleMember.class);
Expand All @@ -86,7 +85,6 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
viewRiksdagenCommittee.getEmbeddedId().getDetail()),
MEMBER_HISTORY, COLUMN_ORDER, HIDE_COLUMNS, LISTENER, null, null);

panel.setCaption(NAME + "::" + COMMITTEE + viewRiksdagenCommittee.getEmbeddedId().getDetail());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.hack23.cia.model.internal.application.data.committee.impl.ViewRiksdagenCommittee;
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.sizing.ContentRatio;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.PageMode;
import com.vaadin.ui.Layout;
Expand Down Expand Up @@ -67,7 +66,7 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, OVERVIEW);
createPageHeader(panel, panelContent, "Committee Overview " + viewRiksdagenCommittee.getEmbeddedId().getDetail(), "Committee Operations Overview", "Provides an overview of committee operations for decision-making support.");

final Link addCommitteePageLink = getPageLinkFactory().addCommitteePageLink(viewRiksdagenCommittee);
panelContent.addComponent(addCommitteePageLink);
Expand All @@ -85,7 +84,6 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

panelContent.setExpandRatio(addCommitteePageLink, ContentRatio.SMALL);

panel.setCaption(new StringBuilder().append("Committee Overview for ").append(viewRiksdagenCommittee.getEmbeddedId().getDetail()).toString());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
final ViewRiksdagenCommittee viewRiksdagenCommittee = getItem(parameters);
getCommitteeMenuItemFactory().createCommitteeeMenuBar(menuBar, pageId);

createPageHeader(panel, panelContent, "Committee Visits", "Page Visit History for Committees", "Tracks user interaction with committee pages for analytical purposes.");

createPageVisitHistory(NAME, pageId, panelContent);

panel.setCaption(NAME + "::" + COMMITTEE + viewRiksdagenCommittee.getEmbeddedId().getDetail());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);
return panelContent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

final String pageId = getPageId(parameters);

createPageHeader(panel, panelContent, "Committee Rankings", "Ranking of All Committees", "Provides comparative rankings for committees based on performance or metrics.");

final HorizontalLayout chartLayout = new HorizontalLayout();
chartLayout.setSizeFull();

chartDataManager.createChartPanel(chartLayout, dataSeriesFactory.createCommitteeChartTimeSeriesAll(), "All");

panelContent.addComponent(chartLayout);

panel.setCaption("All Committees Charts Overview");

getPageActionEventHelper().createPageEvent(ViewAction.VISIT_COMMITTEE_RANKING_VIEW, ApplicationEventGroup.USER,
NAME, parameters, pageId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.service.api.DataContainer;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.MinistryPageMode;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;
import com.hack23.cia.web.impl.ui.application.views.pageclicklistener.PageItemPropertyClickListener;
Expand Down Expand Up @@ -73,7 +72,7 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

getMinistryMenuItemFactory().createMinistryMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, CURRENT_MEMBERS);
createPageHeader(panel, panelContent, "Ministry Members " + viewRiksdagenMinistry.getNameId(), "Current Members of Ministry", "Details the current composition of ministry members.");

final DataContainer<ViewRiksdagenGovermentRoleMember, String> govermentRoleMemberDataContainer = getApplicationManager()
.getDataContainer(ViewRiksdagenGovermentRoleMember.class);
Expand All @@ -84,7 +83,6 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
ViewRiksdagenGovermentRoleMember_.detail, ViewRiksdagenGovermentRoleMember_.active),
CURRENT_MEMBERS, COLUMN_ORDER, HIDE_COLUMNS, LISTENER, null, null);

panel.setCaption(new StringBuilder().append("Ministry Current Members for ").append(viewRiksdagenMinistry.getNameId()).toString());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_MINISTRY_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.chartfactory.api.OrgDocumentChartDataManager;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.MinistryPageMode;
import com.vaadin.ui.Layout;
import com.vaadin.ui.MenuBar;
Expand Down Expand Up @@ -68,11 +67,10 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
final ViewRiksdagenMinistry viewRiksdagenMinistry = getItem(parameters);
getMinistryMenuItemFactory().createMinistryMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, DOCUMENT_ACTIVITY);
createPageHeader(panel, panelContent, "Ministry Documents " + viewRiksdagenMinistry.getNameId(), "Document Activity Overview", "Tracks and visualizes the activity associated with ministry documents.");

chartDataManager.createDocumentHistoryChartByOrg(panelContent, viewRiksdagenMinistry.getNameId());

panel.setCaption(NAME + "::" + MINISTRY + viewRiksdagenMinistry.getNameId());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_MINISTRY_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.service.api.DataContainer;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.MinistryPageMode;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;
import com.hack23.cia.web.impl.ui.application.views.pageclicklistener.PageItemPropertyClickListener;
Expand Down Expand Up @@ -77,7 +76,7 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina

getMinistryMenuItemFactory().createMinistryMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, DOCUMENT_HISTORY);
createPageHeader(panel, panelContent, "Document History " + viewRiksdagenMinistry.getNameId(), "Ministry Document History", "Displays the historical progression of documents managed by ministries.");

final DataContainer<ViewRiksdagenPoliticianDocument, String> politicianDocumentDataContainer = getApplicationManager()
.getDataContainer(ViewRiksdagenPoliticianDocument.class);
Expand All @@ -87,7 +86,6 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
viewRiksdagenMinistry.getNameId(), ViewRiksdagenPoliticianDocument_.madePublicDate),
DOCUMENTS, COLUMN_ORDER, HIDE_COLUMNS, LISTENER, null, null);

panel.setCaption(new StringBuilder().append("Ministry Document History for ").append(viewRiksdagenMinistry.getNameId()).toString());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_MINISTRY_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.hack23.cia.model.internal.application.system.impl.ApplicationEventGroup;
import com.hack23.cia.web.impl.ui.application.action.ViewAction;
import com.hack23.cia.web.impl.ui.application.views.common.chartfactory.api.GovernmentBodyChartDataManager;
import com.hack23.cia.web.impl.ui.application.views.common.labelfactory.LabelFactory;
import com.hack23.cia.web.impl.ui.application.views.common.viewnames.MinistryPageMode;
import com.vaadin.ui.Layout;
import com.vaadin.ui.MenuBar;
Expand All @@ -40,11 +39,6 @@
@Component
public final class MinistryGovernmentBodiesExpenditureModContentFactoryImpl extends AbstractMinistryPageModContentFactoryImpl {

private static final String GOVERNMENT_BODIES = "Government bodies spending";

/** The Constant MINISTRY. */
private static final String MINISTRY = "Ministry:";

@Autowired
private GovernmentBodyChartDataManager governmentBodyChartDataManager;

Expand All @@ -66,12 +60,11 @@ public Layout createContent(final String parameters, final MenuBar menuBar, fina
final ViewRiksdagenMinistry viewRiksdagenMinistry = getItem(parameters);
getMinistryMenuItemFactory().createMinistryMenuBar(menuBar, pageId);

LabelFactory.createHeader2Label(panelContent, GOVERNMENT_BODIES);
createPageHeader(panel, panelContent, "Expenditure Analysis " + viewRiksdagenMinistry.getNameId(), "Government Bodies Expenditure Analysis", "Provides detailed expenditure data for government bodies under ministries.");

governmentBodyChartDataManager.createMinistryGovernmentBodyExpenditureSummaryChart(panelContent,
viewRiksdagenMinistry.getNameId());

panel.setCaption(NAME + "::" + MINISTRY + viewRiksdagenMinistry.getNameId());
getPageActionEventHelper().createPageEvent(ViewAction.VISIT_MINISTRY_VIEW, ApplicationEventGroup.USER, NAME,
parameters, pageId);

Expand Down

0 comments on commit 6a41e1a

Please sign in to comment.