import javax.jcr.RepositoryException;
import javax.jcr.Session;
-import org.argeo.eclipse.ui.Error;
+import org.argeo.eclipse.ui.ErrorFeedback;
import org.argeo.jcr.JcrUtils;
import org.argeo.slc.SlcException;
import org.argeo.slc.client.ui.ClientUiPlugin;
private ExecutionModulesManager modulesManager;
+ private Boolean switchToLog = false;
+
@Override
public void init(IEditorSite site, IEditorInput input)
throws PartInitException {
doSave(null);
try {
// show log
- setActivePage(logPage.getId());
+ if (switchToLog)
+ setActivePage(logPage.getId());
ExecutionProcess process = processController.process(processNode);
Map<String, String> properties = new HashMap<String, String>();
process.getUuid());
modulesManager.registerProcessNotifier(this, properties);
} catch (Exception e) {
- Error.show("Execution of " + processNode + " failed", e);
+ ErrorFeedback.show("Execution of " + processNode + " failed", e);
}
}