@Override
protected Control createDialogArea(Composite parent) {
getShell().setText(Messages.getString("SwimlaneConfigDialog.title"));
typeTabFolder = new CTabFolder(parent, SWT.BOTTOM | SWT.BORDER);
typeTabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite composite1 = new Composite(typeTabFolder, SWT.NONE);
composite1.setLayout(new GridLayout());
CTabItem tabItem1 = new CTabItem(typeTabFolder, SWT.NONE);
tabItem1.setText(Messages.getString("tab.constructor.relation"));
tabItem1.setControl(composite1);
{
SwimlaneElement swimlaneElement = swimlaneElements.get(0);
Composite composite = new Composite(composite1, SWT.NONE);
composite.setLayout(new GridLayout());
swimlaneElement.createGUI(composite);
swimlaneElement.addElementListener(this);
for (SwimlaneElement childElement : swimlaneElement.getChildren()) {
childElement.createGUI(swimlaneElement.getClientArea());
}
}
Composite composite2 = new Composite(typeTabFolder, SWT.NONE);
composite2.setLayout(new GridLayout());
CTabItem tabItem2 = new CTabItem(typeTabFolder, SWT.NONE);
tabItem2.setText(Messages.getString("tab.constructor.orgfunction"));
tabItem2.setControl(composite2);
orgFunctionsTabFolder = new CTabFolder(composite2, SWT.TOP | SWT.BORDER);
orgFunctionsTabFolder.setLayoutData(new GridData(GridData.FILL_BOTH));
for (int i=1; i<swimlaneElements.size(); i++) {
SwimlaneElement swimlaneElement = swimlaneElements.get(i);
Composite composite = new Composite(orgFunctionsTabFolder, SWT.NONE);