View Javadoc

1   package org.kuali.student.lum.program.client.widgets;
2   
3   import org.kuali.student.core.document.ui.client.widgets.documenttool.DocumentTool;
4   import org.kuali.student.lum.common.client.lu.LUUIConstants;
5   
6   /**
7    * @author Igor
8    */
9   public class ProgramDocumentTool extends DocumentTool{
10      public ProgramDocumentTool(Enum<?> viewEnum, String viewName) {
11          super(LUUIConstants.REF_DOC_RELATION_PROPOSAL_TYPE,viewEnum, viewName);
12      }
13  
14      @Override
15      protected void isAuthorizedUploadDocuments() {
16          processUi(true);
17      }
18  }