litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/client/ui/views/admin/Reports.java
|
@@ -8,45 +8,39 @@ |
8 |
8 |
|
|
9 |
9 |
|
import com.google.gwt.user.client.ui.*; |
10 |
10 |
|
|
11 |
|
- |
public class Reports extends ScreenView implements ViewDefs |
12 |
|
- |
{ |
|
11 |
+ |
public class Reports extends ScreenView implements ViewDefs { |
13 |
12 |
|
@Override |
14 |
|
- |
protected UriFragmentIdParams createRefreshParams() |
15 |
|
- |
{ |
|
13 |
+ |
protected UriFragmentIdParams createRefreshParams() { |
16 |
14 |
|
return null; |
17 |
15 |
|
} |
18 |
16 |
|
|
19 |
|
- |
public Reports( String pSection, ViewDef pViewDef ) |
20 |
|
- |
{ |
|
17 |
+ |
public Reports( String pSection, ViewDef pViewDef ) { |
21 |
18 |
|
super( title( pSection, pViewDef ) ); |
22 |
19 |
|
|
23 |
20 |
|
addStandardTitleBar(); |
24 |
21 |
|
|
25 |
|
- |
add( new BigButtonScreenHelper() |
26 |
|
- |
{ |
|
22 |
+ |
add( new BigButtonScreenHelper() { |
27 |
23 |
|
@Override |
28 |
|
- |
public Widget build() |
29 |
|
- |
{ |
|
24 |
+ |
public Widget build() { |
30 |
25 |
|
return null; // |
31 |
26 |
|
// return addVerticallyDistributed( // |
32 |
27 |
|
// createSection( ViewDefs.REPORTS_SECTION_PROVIDER, PROVIDER_BASIC_REPORT, PROVIDER_DETAILED_REPORT ), // |
33 |
28 |
|
// createSection( ViewDefs.REPORTS_SECTION_MEDICATION, MEDICATION_TRACKING_REPORT ), // |
34 |
29 |
|
// createSection( ViewDefs.REPORTS_SECTION_PATIENT, PATIENT_TRACKING_REPORT, PATIENT_ENTRY_REPORT ), // |
35 |
|
- |
// createSection( ViewDefs.REPORTS_SECTION_INVENTORY, INVENTORY_TRACKING_REPORT, INVENTORY_REFILL_REPORT, INVENTORY_HISTOGRAM_REPORT ) // |
|
30 |
+ |
// createSection( ViewDefs.REPORTS_SECTION_INVENTORY, INVENTORY_TRACKING_REPORT, INVENTORY_REFILL_REPORT, |
|
31 |
+ |
// INVENTORY_HISTOGRAM_REPORT ) // |
36 |
32 |
|
// ); |
37 |
33 |
|
} |
38 |
34 |
|
|
39 |
35 |
|
@Override |
40 |
|
- |
protected Widget createScreenButton( ViewDef pViewDef ) |
41 |
|
- |
{ |
|
36 |
+ |
protected Widget createScreenButton( ViewDef pViewDef ) { |
42 |
37 |
|
return ScreenBigButton.factory( pViewDef.getUiString() ).add( new ShowScreenCommand( pViewDef ) ).create(); |
43 |
38 |
|
} |
44 |
39 |
|
}.build() ); |
45 |
40 |
|
} |
46 |
41 |
|
|
47 |
42 |
|
@Override |
48 |
|
- |
public Widget getBottomBar() |
49 |
|
- |
{ |
|
43 |
+ |
public Widget getBottomBar() { |
50 |
44 |
|
return null; |
51 |
45 |
|
} |
52 |
46 |
|
} |