001package edu.pdx.cs410J.grader.poa; 002 003import com.google.common.eventbus.Subscribe; 004 005import java.util.List; 006 007public interface POASubmissionsView { 008 void setPOASubmissionsDescriptions(List<String> strings); 009 010 void addSubmissionSelectedListener(POASubmissionSelectedListener listener); 011 012 void addDownloadSubmissionsListener(DownloadSubmissionsListener listener); 013 014 void selectPOASubmission(int index); 015 016 interface POASubmissionSelectedListener { 017 public void submissionSelected(int index); 018 } 019 020 public interface DownloadSubmissionsListener { 021 @Subscribe 022 public void downloadSubmissions(); 023 } 024}