Added save&open exported docx file

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/reports@71392 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Antonio Gioia 2013-03-14 17:05:59 +00:00
parent 6536d8bfe7
commit 2cb4d69e24
1 changed files with 12 additions and 3 deletions

View File

@ -143,8 +143,17 @@ public class Presenter {
@Override
public void onCompletedExport(ReportExporterEvent event) {
if(event.isSuccssfullyCompleted()) {
switch (event.getOperationResult()) {
case SAVED:
refreshWorkspace();
break;
case SAVED_OPEN:
refreshWorkspace();
toolBoxPanel.showExportedVersion(event.getItemId(), event.getItemId());
break;
default:
break;
}
}