Commit adf93e9a authored by Romain Bioteau's avatar Romain Bioteau
Browse files

migration view display

parent 7c594c00
......@@ -273,7 +273,18 @@ public class DiagramFileStore extends EMFFileStore implements IRepositoryFileSto
private void handleMigrationReportIfPresent(final IWorkbenchPage activePage)
throws PartInitException {
if(hasMigrationReport()){
activePage.showView("org.bonitasoft.studio.migration.view");
Display.getDefault().syncExec(new Runnable() {
@Override
public void run() {
try {
activePage.showView("org.bonitasoft.studio.migration.view");
} catch (final PartInitException e) {
BonitaStudioLog.error(e);
}
}
});
} else {
final IViewPart migrationView = activePage.findView("org.bonitasoft.studio.migration.view");
if(migrationView != null){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment