Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ui/views/admin/Reports.java

Diff revisions: vs.
  @@ -1,46 +1,46 @@
1 - package org.litesoft.prioritizer.client.ui.views.admin;
2 -
3 - import org.litesoft.GWT.client.command.*;
4 - import org.litesoft.GWT.client.view.*;
5 - import org.litesoft.GWT.client.widgets.*;
6 - import org.litesoft.prioritizer.client.*;
7 - import org.litesoft.uispecification.*;
8 -
9 - import com.google.gwt.user.client.ui.*;
10 -
11 - public class Reports extends ScreenView implements ViewDefs {
12 - @Override
13 - protected UriFragmentIdParams createRefreshParams() {
14 - return null;
15 - }
16 -
17 - public Reports( String pSection, ViewDef pViewDef ) {
18 - super( title( pSection, pViewDef ) );
19 -
20 - addStandardTitleBar();
21 -
22 - add( new BigButtonScreenHelper() {
23 - @Override
24 - public Widget build() {
25 - return null; //
26 - // return addVerticallyDistributed( //
27 - // createSection( ViewDefs.REPORTS_SECTION_PROVIDER, PROVIDER_BASIC_REPORT, PROVIDER_DETAILED_REPORT ), //
28 - // createSection( ViewDefs.REPORTS_SECTION_MEDICATION, MEDICATION_TRACKING_REPORT ), //
29 - // createSection( ViewDefs.REPORTS_SECTION_PATIENT, PATIENT_TRACKING_REPORT, PATIENT_ENTRY_REPORT ), //
30 - // createSection( ViewDefs.REPORTS_SECTION_INVENTORY, INVENTORY_TRACKING_REPORT, INVENTORY_REFILL_REPORT,
31 - // INVENTORY_HISTOGRAM_REPORT ) //
32 - // );
33 - }
34 -
35 - @Override
36 - protected Widget createScreenButton( ViewDef pViewDef ) {
37 - return ScreenBigButton.factory( pViewDef.getUiString() ).add( new ShowScreenCommand( pViewDef ) ).create();
38 - }
39 - }.build() );
40 - }
41 -
42 - @Override
43 - public Widget getBottomBar() {
44 - return null;
45 - }
46 - }
1 + package org.litesoft.prioritizer.client.ui.views.admin;
2 +
3 + import org.litesoft.GWT.client.command.*;
4 + import org.litesoft.GWT.client.view.*;
5 + import org.litesoft.GWT.client.widgets.*;
6 + import org.litesoft.prioritizer.client.*;
7 + import org.litesoft.uispecification.*;
8 +
9 + import com.google.gwt.user.client.ui.*;
10 +
11 + public class Reports extends ScreenView implements ViewDefs {
12 + @Override
13 + protected UriFragmentIdParams createRefreshParams() {
14 + return null;
15 + }
16 +
17 + public Reports( String pSection, ViewDef pViewDef ) {
18 + super( title( pSection, pViewDef ) );
19 +
20 + addStandardTitleBar();
21 +
22 + add( new BigButtonScreenHelper() {
23 + @Override
24 + public Widget build() {
25 + return null; //
26 + // return addVerticallyDistributed( //
27 + // createSection( ViewDefs.REPORTS_SECTION_PROVIDER, PROVIDER_BASIC_REPORT, PROVIDER_DETAILED_REPORT ), //
28 + // createSection( ViewDefs.REPORTS_SECTION_MEDICATION, MEDICATION_TRACKING_REPORT ), //
29 + // createSection( ViewDefs.REPORTS_SECTION_PATIENT, PATIENT_TRACKING_REPORT, PATIENT_ENTRY_REPORT ), //
30 + // createSection( ViewDefs.REPORTS_SECTION_INVENTORY, INVENTORY_TRACKING_REPORT, INVENTORY_REFILL_REPORT,
31 + // INVENTORY_HISTOGRAM_REPORT ) //
32 + // );
33 + }
34 +
35 + @Override
36 + protected Widget createScreenButton( ViewDef pViewDef ) {
37 + return ScreenBigButton.factory( pViewDef.getUiString() ).add( new ShowScreenCommand( pViewDef ) ).create();
38 + }
39 + }.build() );
40 + }
41 +
42 + @Override
43 + public Widget getBottomBar() {
44 + return null;
45 + }
46 + }