use of org.activiti.explorer.ui.custom.DetailPanel in project Activiti by Activiti.
the class SimpleTableEditor method initUi.
@Override
protected void initUi() {
super.initUi();
setSizeFull();
// Hide the column on the left side
grid.setColumnExpandRatio(0, 0f);
mainLayout = new DetailPanel();
setDetailComponent(mainLayout);
// Editor
editorGrid = new GridLayout(2, 7);
editorGrid.setSizeFull();
editorGrid.setMargin(true);
editorGrid.setColumnExpandRatio(0, 1.0f);
editorGrid.setColumnExpandRatio(1, 9.0f);
editorGrid.setSpacing(true);
mainLayout.addComponent(editorGrid);
initNameField(editorGrid);
initDescriptionField(editorGrid);
initTaskTable(editorGrid);
initButtons(editorGrid);
toolBar.setActiveEntry(KEY_EDITOR);
}
Aggregations