});
setHelpContext(projectText, HelpContexts.TESTABILITY_PROJECT);
Button projectBrowseButton = new Button(control, SWT.PUSH);
projectBrowseButton.setText("Browse...");
projectBrowseButton.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {
setUpBrowseProjectDialog();
}
});
setHelpContext(projectText, HelpContexts.TESTABILITY_PROJECT);
Label reportFolderLabel = new Label(control, SWT.NONE);
reportFolderLabel.setText("Report Folder:");
reportFolderText = new Text(control, SWT.BORDER);
GridData folderGridData = new GridData(GridData.FILL_HORIZONTAL);
reportFolderText.setLayoutData(folderGridData);
reportFolderText.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setTabDirty();
}
});
setHelpContext(reportFolderText, HelpContexts.TESTABILITY_REPORT_FOLDER);
Button reportFolderBrowseButton = new Button(control, SWT.PUSH);
reportFolderBrowseButton.setText("Browse...");
reportFolderBrowseButton.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {
setUpBrowseFolderDialog();
}
});
setHelpContext(reportFolderBrowseButton, HelpContexts.TESTABILITY_REPORT_FOLDER);
Label whiteList = new Label(control, SWT.NONE);
whiteList.setText("White list:");
whiteListList = new ListViewer(control, SWT.BORDER | SWT.V_SCROLL | SWT.MULTI);
whiteListList.getList().setBounds(0, 0, 100, 100);
GridData whiteListGridData = new GridData(GridData.FILL_HORIZONTAL);
whiteListGridData.heightHint = 100;
whiteListGridData.verticalSpan = 2;
whiteListList.getList().setLayoutData(whiteListGridData);
whiteListList.getList().addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setTabDirty();
}
});
setHelpContext(whiteListList.getList(),
HelpContexts.TESTABILITY_WHITELIST);
Button whitelistPackagesBrowseButton = new Button(control, SWT.PUSH);
whitelistPackagesBrowseButton.setText("Add...");
whitelistPackagesBrowseButton.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {
setUpWhitelistPackagesDialog();
}
});
GridData whiteListPackagesBrowseGridData = new GridData();
whitelistPackagesBrowseButton.setLayoutData(whiteListPackagesBrowseGridData);
setHelpContext(whitelistPackagesBrowseButton, HelpContexts.TESTABILITY_WHITELIST);
Label spacer = new Label(control, SWT.NONE);
Button whitelistPackagesRemoveButton = new Button(control, SWT.PUSH);
whitelistPackagesRemoveButton.setText("Remove");
whitelistPackagesRemoveButton.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {
removeSelectedPackageFromWhitelist();
}
});
GridData whiteListRemoveGridData = new GridData();
whiteListRemoveGridData.verticalAlignment = SWT.TOP;
whitelistPackagesRemoveButton.setLayoutData(whiteListRemoveGridData);
setHelpContext(whitelistPackagesRemoveButton, HelpContexts.TESTABILITY_WHITELIST);
Label spacer2 = new Label(control, SWT.NONE);
runOnCompileCheckbox = new Button(control, SWT.CHECK);
runOnCompileCheckbox.setText("Run this configuration at every build");
runOnCompileCheckbox.addSelectionListener(new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
}
public void widgetSelected(SelectionEvent e) {