UploadedDocumentsPanel.java :  » XML » dniesign » org » gruposp2p » dnie » client » ui » panel » Java Open Source

Java Open Source » XML » dniesign 
dniesign » org » gruposp2p » dnie » client » ui » panel » UploadedDocumentsPanel.java
package org.gruposp2p.dnie.client.ui.panel;

import org.gruposp2p.dnie.client.ui.widget.dynatable.UploadedDocumentsWidget;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

public class UploadedDocumentsPanel extends Composite {

    private static UploadedDocumentsPanelUiBinder uiBinder = GWT
                    .create(UploadedDocumentsPanelUiBinder.class);

    interface UploadedDocumentsPanelUiBinder extends
            UiBinder<Widget, UploadedDocumentsPanel> {
    }

    @UiField VerticalPanel contentPanel;
    UploadedDocumentsWidget documentsToSign;
  
    public UploadedDocumentsPanel() {
        initWidget(uiBinder.createAndBindUi(this));
        contentPanel.setWidth("991px");
    }

    public UploadedDocumentsPanel getInstance () {
        if (documentsToSign == null) {
            documentsToSign = new UploadedDocumentsWidget(5);
            contentPanel.add(documentsToSign);
        }
        return this;
    }
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.