View Javadoc

1   package org.appfuse.webapp.client.ui.upload.views;
2   
3   import java.util.List;
4   
5   import org.appfuse.webapp.client.ui.upload.FileUploadBean;
6   
7   import com.github.gwtbootstrap.client.ui.Form.SubmitCompleteHandler;
8   import com.github.gwtbootstrap.client.ui.Form.SubmitHandler;
9   import com.google.gwt.editor.client.EditorDriver;
10  import com.google.gwt.user.client.ui.IsWidget;
11  
12  public interface FileUploadView extends IsWidget {
13  
14      public interface Delegate extends SubmitHandler, SubmitCompleteHandler {
15          void onCancelClick();
16      }
17  
18      void setDelegate(Delegate delegate);
19  
20      void edit(FileUploadBean fileUpload);
21  
22      EditorDriver<FileUploadBean> getEditorDriver();
23  
24      void showErrorsMessages(List<String> errors);
25  }