viewController.addView(new ComponentPaneRenderer<QueueListPane>(new QueueListPane(this))
{
@Override
public Component render(Map<String,?> viewData)
{
ProcessQueue q = (ProcessQueue)viewData.get("queue");
ProcessInstanceFilter filter = (ProcessInstanceFilter)viewData.get("filter");
pane.setFilter(filter);
pane.setQueue(q);
leftPanelTrigger.show();
return pane.init();
}
});
viewController.addView(new ComponentPaneRenderer<OtherUserQueueListPane>(new OtherUserQueueListPane(this))
{
@Override
public Component render(Map<String,?> viewData)
{
ProcessQueue queue = (ProcessQueue)viewData.get("queue");
UserData user = (UserData)viewData.get("user");
ProcessInstanceFilter filter = (ProcessInstanceFilter)viewData.get("filter");
pane.setFilter(filter);
pane.setUserData(user);
pane.setQueue(queue);