}
}
}
guiAction = null;
final ProcessStateConfiguration stateConfiguration = ctx.getProcessDefinitionDAO()
.getProcessStateConfiguration(task);
Label stateDescription = new Label(getMessage(stateConfiguration.getDescription()));
stateDescription.addStyleName("h1 color processtool-title");
stateDescription.setWidth(100, Sizeable.UNITS_PERCENTAGE);
addComponent(stateDescription);
if (Strings.hasText(stateConfiguration.getCommentary())) {
addComponent(new Label(getMessage(stateConfiguration.getCommentary()), Label.CONTENT_XHTML));
}
if (helpFactory != null)
addComponent(helpFactory.helpIcon(task.getTaskName(), "step.help"));
displayProcessContext.setCaption(task.getExternalProcessId() != null ? task.getExternalProcessId() : task.getInternalProcessId());
final VerticalLayout vl = new VerticalLayout();
vl.setSpacing(true);
vl.setWidth(100, Sizeable.UNITS_PERCENTAGE);
List<ProcessStateWidget> widgets = new ArrayList<ProcessStateWidget>(stateConfiguration.getWidgets());
Collections.sort(widgets, new WidgetPriorityComparator());
TaskWatch watch = new TaskWatch(ProcessDataPane.class.getSimpleName() + " - generowanie interfejsu dla kroku " + stateConfiguration.getName());
final WidgetEventBus widgetEventBus = new WidgetEventBus();
for (final ProcessStateWidget w : widgets) {
try {