}
return tabSheet;
}
private RenderParams createParams() {
RenderParams params = new RenderParams() {
@Override
public void withTransaction(final TransactionCallback callback) {
transactionProvider.withTransaction(new ProcessToolGuiCallback() {
@Override
public void callback(ProcessToolContext ctx, ProcessToolBpmSession session) {
callback.invoke(ctx, session);
}
});
}
};
params.setContext(ProcessToolContext.Util.getThreadProcessToolContext());
params.setBpmSession(bpmSession);
params.setI18NSource(i18NSource);
params.setApplication(application);
return params;
}