dataPane.addComponent(topNavigationComponent);
dataPane.setComponentAlignment(topNavigationComponent, Alignment.TOP_RIGHT);
for(BpmTask bpmTask: bpmTasks)
dataPane.addComponent(getTaskItem(new TaskTableItem(bpmTask)));
if(bpmTasks.size() > 2)
{
dataPane.addComponent(bottomNavigationComponent);
dataPane.setComponentAlignment(bottomNavigationComponent, Alignment.TOP_RIGHT);