if (preloadProject!=null){
loadLocalDocument(preloadProject,false);
return;
}
WelcomeDialog instance = WelcomeDialog.getInstance(getFrame(),getMenuManager());
if (instance.doModal()) {
waitInitialization();
if (instance.getForm().isCreateProject())
doNewProjectDialog();
else if (instance.getForm().isOpenProject()){
if(Environment.getStandAlone()) openLocalProject();
else doOpenProjectDialog();
}else if (instance.getForm().isManageResources()) {
loadMasterProject();
}
}
}