}
});
// to remove "strange" views, depending on external addons. Such
// approach also gives us much greater flexibility
ViewRegistry registeredService = ProcessToolContext.Util.getThreadProcessToolContext().getRegistry().getRegisteredService(ViewRegistry.class);
if(registeredService != null)
{
for(final ViewRenderer viewRenderer: registeredService.getViews())
{
viewRenderer.setBpmSession(getBpmSession());
viewRenderer.setUp(application);
viewRenderer.setViewCallback(this);
viewController.addView(viewRenderer);