formData_7.width = 77;
btnRemove_1.setLayoutData(formData_7);
}
btnRemove_1.setText("Remove");
{
final ListViewer listViewer = new ListViewer(includeComposite, SWT.BORDER);
final org.eclipse.swt.widgets.List includes_list = listViewer.getList();
{
final FormData formData = new FormData();
formData.right = new FormAttachment(btnAddFolder, -6);
formData.left = new FormAttachment(0, 10);
formData.bottom = new FormAttachment(100, -10);
formData.top = new FormAttachment(lblFoldersWithInclude, 6);
includes_list.setLayoutData(formData);
}
}
final TabItem projectsTab = new TabItem(tabFolder, SWT.NONE);
projectsTab.setText("Projects");
final Composite dependenciesComposite = new Composite(tabFolder, SWT.NONE);
dependenciesComposite.setLayout(new FormLayout());
projectsTab.setControl(dependenciesComposite);
final Label lblProjectsOnThe = new Label(dependenciesComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.right = new FormAttachment(100, -10);
formData.top = new FormAttachment(0, 10);
formData.left = new FormAttachment(0, 10);
lblProjectsOnThe.setLayoutData(formData);
}
lblProjectsOnThe.setText("Required projects on the build path:");
final Button button = new Button(dependenciesComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(lblProjectsOnThe, 6);
formData.right = new FormAttachment(lblProjectsOnThe, 0, SWT.RIGHT);
button.setLayoutData(formData);
}
button.setText("New Button");
final Button button_1 = new Button(dependenciesComposite, SWT.NONE);
FormData formData_8;
{
formData_8 = new FormData();
formData_8.right = new FormAttachment(lblProjectsOnThe, 0, SWT.RIGHT);
button_1.setLayoutData(formData_8);
}
button_1.setText("New Button");
final Button button_2 = new Button(dependenciesComposite, SWT.NONE);
formData_8.bottom = new FormAttachment(button_2, -6);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(0, 110);
formData.right = new FormAttachment(lblProjectsOnThe, 0, SWT.RIGHT);
button_2.setLayoutData(formData);
}
button_2.setText("New Button");
{
final ListViewer listViewer = new ListViewer(dependenciesComposite,
SWT.BORDER);
final org.eclipse.swt.widgets.List projects_list = listViewer.getList();
{
final FormData formData = new FormData();
formData.right = new FormAttachment(button, -6);
formData.left = new FormAttachment(0, 10);
formData.bottom = new FormAttachment(100, -6);
formData.top = new FormAttachment(lblProjectsOnThe, 6);
projects_list.setLayoutData(formData);
}
}
final Collection<RuntimeInfo> rs = BackendCore.getRuntimeInfoCatalog()
.getRuntimes();
final List<String[]> vv = new ArrayList<String[]>();
for (final RuntimeInfo ri : rs) {
vv.add(new String[] { ri.getName(), ri.getName() });
}
@SuppressWarnings("unused")
final String[][] values = vv.toArray(new String[][] {});
final TabItem librariesTab = new TabItem(tabFolder, SWT.NONE);
librariesTab.setText("Libraries");
final Composite librariesComposite = new Composite(tabFolder, SWT.NONE);
librariesComposite.setLayout(new FormLayout());
librariesTab.setControl(librariesComposite);
final Label lblExternalLibrariesRequired = new Label(librariesComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.right = new FormAttachment(100, -10);
formData.top = new FormAttachment(0, 10);
formData.left = new FormAttachment(0, 10);
lblExternalLibrariesRequired.setLayoutData(formData);
}
lblExternalLibrariesRequired
.setText("External libraries required on build path:");
final Button button_3 = new Button(librariesComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(lblExternalLibrariesRequired, 6);
formData.right = new FormAttachment(100, -10);
button_3.setLayoutData(formData);
}
button_3.setText("New Button");
final Button button_4 = new Button(librariesComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(button_3, 6);
formData.right = new FormAttachment(lblExternalLibrariesRequired, 0,
SWT.RIGHT);
button_4.setLayoutData(formData);
}
button_4.setText("New Button");
final Button button_5 = new Button(librariesComposite, SWT.NONE);
FormData formData_9;
{
formData_9 = new FormData();
formData_9.right = new FormAttachment(lblExternalLibrariesRequired, 0,
SWT.RIGHT);
button_5.setLayoutData(formData_9);
}
button_5.setText("New Button");
final Button button_6 = new Button(librariesComposite, SWT.NONE);
formData_9.bottom = new FormAttachment(100, -226);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(button_5, 6);
formData.right = new FormAttachment(lblExternalLibrariesRequired, 0,
SWT.RIGHT);
button_6.setLayoutData(formData);
}
button_6.setText("New Button");
{
final TreeViewer treeViewer = new TreeViewer(librariesComposite, SWT.BORDER);
final Tree libraries_tree = treeViewer.getTree();
{
final FormData formData = new FormData();
formData.right = new FormAttachment(button_3, -6);
formData.left = new FormAttachment(0, 10);
formData.top = new FormAttachment(lblExternalLibrariesRequired, 4);
formData.bottom = new FormAttachment(100, -10);
libraries_tree.setLayoutData(formData);
}
}
final TabItem orderTab = new TabItem(tabFolder, SWT.NONE);
orderTab.setText("Codepath order");
final Composite codepathComposite = new Composite(tabFolder, SWT.NONE);
codepathComposite.setLayout(new FormLayout());
orderTab.setControl(codepathComposite);
final Label lblOrderOfThe = new Label(codepathComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.right = new FormAttachment(100, -10);
formData.top = new FormAttachment(0, 10);
formData.left = new FormAttachment(0, 10);
lblOrderOfThe.setLayoutData(formData);
}
lblOrderOfThe.setText("Order of the dependencies on runtime code path:");
final Button button_7 = new Button(codepathComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(lblOrderOfThe, 6);
formData.right = new FormAttachment(lblOrderOfThe, 0, SWT.RIGHT);
button_7.setLayoutData(formData);
}
button_7.setText("New Button");
final Button button_8 = new Button(codepathComposite, SWT.NONE);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(button_7, 6);
formData.right = new FormAttachment(lblOrderOfThe, 0, SWT.RIGHT);
button_8.setLayoutData(formData);
}
button_8.setText("New Button");
{
final ListViewer listViewer = new ListViewer(codepathComposite, SWT.BORDER);
final org.eclipse.swt.widgets.List codepath_list = listViewer.getList();
{
final FormData formData = new FormData();
formData.right = new FormAttachment(button_7, -6);
formData.left = new FormAttachment(0, 10);
formData.bottom = new FormAttachment(100, -10);
formData.top = new FormAttachment(lblOrderOfThe, 6);
codepath_list.setLayoutData(formData);
}
}
final TabItem tbtmPreprocessor = new TabItem(tabFolder, SWT.NONE);
tbtmPreprocessor.setText("Preprocessor");
final Composite composite_1 = new Composite(tabFolder, SWT.NONE);
composite_1.setLayout(new FormLayout());
tbtmPreprocessor.setControl(composite_1);
final Label lblMacrosDefinedFor = new Label(composite_1, SWT.NONE);
{
final FormData formData = new FormData();
formData.top = new FormAttachment(0, 10);
formData.left = new FormAttachment(0, 10);
lblMacrosDefinedFor.setLayoutData(formData);
}
lblMacrosDefinedFor.setText("Macros defined for this project");
final Button button_9 = new Button(composite_1, SWT.NONE);
{
final FormData formData_10 = new FormData();
formData_10.top = new FormAttachment(0, 31);
formData_10.right = new FormAttachment(100, -10);
button_9.setLayoutData(formData_10);
}
button_9.setText("New Button");
final Button button_10 = new Button(composite_1, SWT.NONE);
FormData formData_12;
{
formData_12 = new FormData();
formData_12.right = new FormAttachment(button_9, 0, SWT.RIGHT);
button_10.setLayoutData(formData_12);
}
button_10.setText("New Button");
final Button button_11 = new Button(composite_1, SWT.NONE);
formData_12.bottom = new FormAttachment(100, -262);
{
final FormData formData_11 = new FormData();
formData_11.top = new FormAttachment(button_10, 6);
formData_11.right = new FormAttachment(button_9, 0, SWT.RIGHT);
button_11.setLayoutData(formData_11);
}
button_11.setText("New Button");
{
final ListViewer listViewer = new ListViewer(composite_1, SWT.BORDER);
final org.eclipse.swt.widgets.List macros_list = listViewer.getList();
{
final FormData formData = new FormData();
formData.right = new FormAttachment(button_9, -6);
formData.left = new FormAttachment(0, 10);
formData.bottom = new FormAttachment(100, -10);