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:
parent
6536d8bfe7
commit
2cb4d69e24
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in New Issue