tabPanel.selectTab(0);
layout.add(tabPanel, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
diagramWindowPanel = new WidgetWindowPanel(
"Process Instance Activity",
layout, true
);
controller.handleEvent(new Event(GetProcessInstanceEventsAction.ID, inst.getId()));
} else if(isjBPMInstance) {
MosaicPanel layout = new MosaicPanel(new BoxLayout(BoxLayout.Orientation.VERTICAL));
layout.setStyleName("bpm-window-layout");
layout.setPadding(5);
Label header = new Label("Instance: "+inst.getId());
header.setStyleName("bpm-label-header");
layout.add(header, new BoxLayoutData(BoxLayoutData.FillStyle.HORIZONTAL));
layout.add(diagramView, new BoxLayoutData(BoxLayoutData.FillStyle.BOTH));
diagramWindowPanel = new WidgetWindowPanel(
"Process Instance Activity",
layout, true
);
}
}