code: protected CmsFileTable getProjectFiles(CmsUUID projectId) {
  
          final CmsFileTable fileTable = new CmsFileTable(null);
          fileTable.applyWorkplaceAppSettings();
          fileTable.setContextProvider(new I_CmsContextProvider() {
  
              /**
               * @see org.opencms.ui.apps.I_CmsContextProvider#getDialogContext()
               */
              public I_CmsDialogContext getDialogContext() {
  
                  CmsFileTableDialogContext context = new CmsFileTableDialogContext(
                      CmsProjectManagerConfiguration.APP_ID,
                      ContextType.fileTable,
                      fileTable,
                      fileTable.getSelectedResources());
                  context.setEditableProperties(CmsFileExplorer.INLINE_EDIT_PROPERTIES);
                  return context;
              }
          });
          CmsObject cms = A_CmsUI.getCmsObject();
          List<CmsResource> childResources;
          try {
              childResources = cms.readProjectView(projectId, CmsResource.STATE_KEEP);
              fileTable.fillTable(cms, childResources);
          } catch (CmsException e) {
              CmsErrorDialog.showErrorDialog(
                  CmsVaadinUtils.getMessageText(Messages.ERR_PROJECTS_CAN_NOT_DISPLAY_FILES_0),
                  e);
          }
          return fileTable;
      }
docs: Returns the project files table.<p>
  
  @param projectId the selected project id
  
  @return the file table