Commit 665b1d7c authored by Romain Bioteau's avatar Romain Bioteau

Maximized shell at stratu

(fix TestWebPurchase)
parent ab16d429
......@@ -79,21 +79,22 @@ public class BonitaStudioWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
if(statusBar != null){
statusBar.setVisible(false);
}
window.getShell().setMaximized(true);
}
@Override
public void openIntro() {
PrefUtil.getAPIPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_INTRO, true);
PrefUtil.saveAPIPrefs();
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
if(!PlatformUtil.isIntroOpen()){
PlatformUtil.openIntro();
}
}
});
PrefUtil.getAPIPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_INTRO, true);
PrefUtil.saveAPIPrefs();
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
if (!PlatformUtil.isIntroOpen()) {
PlatformUtil.openIntro();
}
}
});
}
......
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