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