|
@@ -1,52 +1,52 @@ |
1 |
|
- |
package org.litesoft.nasvideo.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.nasvideo.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 |
|
- |
{ |
13 |
|
- |
@Override |
14 |
|
- |
protected UriFragmentIdParams createRefreshParams() |
15 |
|
- |
{ |
16 |
|
- |
return null; |
17 |
|
- |
} |
18 |
|
- |
|
19 |
|
- |
public Reports( String pSection, ViewDef pViewDef ) |
20 |
|
- |
{ |
21 |
|
- |
super( title( pSection, pViewDef ) ); |
22 |
|
- |
|
23 |
|
- |
addStandardTitleBar(); |
24 |
|
- |
|
25 |
|
- |
add( new BigButtonScreenHelper() |
26 |
|
- |
{ |
27 |
|
- |
@Override |
28 |
|
- |
public Widget build() |
29 |
|
- |
{ |
30 |
|
- |
return null; // |
31 |
|
- |
// return addVerticallyDistributed( // |
32 |
|
- |
// createSection( ViewDefs.REPORTS_SECTION_PROVIDER, PROVIDER_BASIC_REPORT, PROVIDER_DETAILED_REPORT ), // |
33 |
|
- |
// createSection( ViewDefs.REPORTS_SECTION_MEDICATION, MEDICATION_TRACKING_REPORT ), // |
34 |
|
- |
// 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 ) // |
36 |
|
- |
// ); |
37 |
|
- |
} |
38 |
|
- |
|
39 |
|
- |
@Override |
40 |
|
- |
protected Widget createScreenButton( ViewDef pViewDef ) |
41 |
|
- |
{ |
42 |
|
- |
return ScreenBigButton.factory( pViewDef.getUiString() ).add( new ShowScreenCommand( pViewDef ) ).create(); |
43 |
|
- |
} |
44 |
|
- |
}.build() ); |
45 |
|
- |
} |
46 |
|
- |
|
47 |
|
- |
@Override |
48 |
|
- |
public Widget getBottomBar() |
49 |
|
- |
{ |
50 |
|
- |
return null; |
51 |
|
- |
} |
52 |
|
- |
} |
|
1 |
+ |
package org.litesoft.nasvideo.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.nasvideo.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 |
+ |
{ |
|
13 |
+ |
@Override |
|
14 |
+ |
protected UriFragmentIdParams createRefreshParams() |
|
15 |
+ |
{ |
|
16 |
+ |
return null; |
|
17 |
+ |
} |
|
18 |
+ |
|
|
19 |
+ |
public Reports( String pSection, ViewDef pViewDef ) |
|
20 |
+ |
{ |
|
21 |
+ |
super( title( pSection, pViewDef ) ); |
|
22 |
+ |
|
|
23 |
+ |
addStandardTitleBar(); |
|
24 |
+ |
|
|
25 |
+ |
add( new BigButtonScreenHelper() |
|
26 |
+ |
{ |
|
27 |
+ |
@Override |
|
28 |
+ |
public Widget build() |
|
29 |
+ |
{ |
|
30 |
+ |
return null; // |
|
31 |
+ |
// return addVerticallyDistributed( // |
|
32 |
+ |
// createSection( ViewDefs.REPORTS_SECTION_PROVIDER, PROVIDER_BASIC_REPORT, PROVIDER_DETAILED_REPORT ), // |
|
33 |
+ |
// createSection( ViewDefs.REPORTS_SECTION_MEDICATION, MEDICATION_TRACKING_REPORT ), // |
|
34 |
+ |
// 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 ) // |
|
36 |
+ |
// ); |
|
37 |
+ |
} |
|
38 |
+ |
|
|
39 |
+ |
@Override |
|
40 |
+ |
protected Widget createScreenButton( ViewDef pViewDef ) |
|
41 |
+ |
{ |
|
42 |
+ |
return ScreenBigButton.factory( pViewDef.getUiString() ).add( new ShowScreenCommand( pViewDef ) ).create(); |
|
43 |
+ |
} |
|
44 |
+ |
}.build() ); |
|
45 |
+ |
} |
|
46 |
+ |
|
|
47 |
+ |
@Override |
|
48 |
+ |
public Widget getBottomBar() |
|
49 |
+ |
{ |
|
50 |
+ |
return null; |
|
51 |
+ |
} |
|
52 |
+ |
} |