Subversion Repository Public Repository

litesoft

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
47
48
49
50
51
52
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;
    }
}

Commits for litesoft/trunk/GWT_Sandbox/InitFrom/src/org/litesoft/initfrom/client/ui/views/admin/Reports.java

Diff revisions: vs.
Revision Author Commited Message
491 Diff Diff GeorgeS picture GeorgeS Sun 11 Sep, 2011 12:57:02 +0000

Initial Transform of InitFrom

459 GeorgeS picture GeorgeS Sun 21 Aug, 2011 00:42:41 +0000