Search in sources :

Example 26 with DefaultTable

use of org.eclipse.reddeer.swt.impl.table.DefaultTable in project jbosstools-openshift by jbosstools.

the class ImportApplicationWizardGitTest method getOriginURL.

private String getOriginURL() {
    project.select();
    project.openProperties();
    project.selectTabbedProperty("Builds");
    PropertySheet propertiesView = new PropertySheet();
    new DefaultTable().getItem(0).select();
    String originURL = propertiesView.getProperty("Misc", "Source Repo").getPropertyValue();
    return originURL;
}
Also used : PropertySheet(org.eclipse.reddeer.eclipse.ui.views.properties.PropertySheet) DefaultTable(org.eclipse.reddeer.swt.impl.table.DefaultTable)

Example 27 with DefaultTable

use of org.eclipse.reddeer.swt.impl.table.DefaultTable in project jbosstools-openshift by jbosstools.

the class OpenShift3SSLCertificatePreferencePage method deleteAll.

public void deleteAll() {
    log.info("Deleting all accepted Untrusted SSL Certificates used by Opneshift 3 tooling");
    DefaultTable table = new DefaultTable();
    List<TableItem> tableItems = table.getItems();
    if (tableItems.isEmpty()) {
        return;
    }
    for (TableItem item : tableItems) {
        item.select();
        new PushButton("Delete").click();
    }
}
Also used : TableItem(org.eclipse.reddeer.swt.api.TableItem) DefaultTable(org.eclipse.reddeer.swt.impl.table.DefaultTable) PushButton(org.eclipse.reddeer.swt.impl.button.PushButton)

Example 28 with DefaultTable

use of org.eclipse.reddeer.swt.impl.table.DefaultTable in project jbosstools-hibernate by jbosstools.

the class LaunchConfigurationsDialog method selectExporter.

/**
 * Select exporter which should be selected
 * @param index index of the exporter
 */
public void selectExporter(int index) {
    new DefaultCTabItem(this, "Exporters").activate();
    new DefaultTableItem(new DefaultTable(this), index).setChecked(true);
}
Also used : DefaultTable(org.eclipse.reddeer.swt.impl.table.DefaultTable) DefaultTableItem(org.eclipse.reddeer.swt.impl.table.DefaultTableItem) DefaultCTabItem(org.eclipse.reddeer.swt.impl.ctab.DefaultCTabItem)

Aggregations

DefaultTable (org.eclipse.reddeer.swt.impl.table.DefaultTable)28 PushButton (org.eclipse.reddeer.swt.impl.button.PushButton)20 ShellIsAvailable (org.eclipse.reddeer.swt.condition.ShellIsAvailable)18 WaitWhile (org.eclipse.reddeer.common.wait.WaitWhile)17 DefaultShell (org.eclipse.reddeer.swt.impl.shell.DefaultShell)16 OkButton (org.eclipse.reddeer.swt.impl.button.OkButton)11 WaitUntil (org.eclipse.reddeer.common.wait.WaitUntil)10 LabeledText (org.eclipse.reddeer.swt.impl.text.LabeledText)8 ControlIsEnabled (org.eclipse.reddeer.swt.condition.ControlIsEnabled)7 YesButton (org.eclipse.reddeer.swt.impl.button.YesButton)6 Test (org.junit.Test)6 Table (org.eclipse.reddeer.swt.api.Table)5 TableItem (org.eclipse.reddeer.swt.api.TableItem)5 JobIsRunning (org.eclipse.reddeer.workbench.core.condition.JobIsRunning)4 ContextMenuItem (org.eclipse.reddeer.swt.impl.menu.ContextMenuItem)3 DefaultText (org.eclipse.reddeer.swt.impl.text.DefaultText)3 OpenShiftExplorerView (org.jboss.tools.openshift.reddeer.view.OpenShiftExplorerView)3 AbstractTest (org.jboss.tools.openshift.ui.bot.test.application.v3.basic.AbstractTest)3 BackButton (org.eclipse.reddeer.swt.impl.button.BackButton)2 FinishButton (org.eclipse.reddeer.swt.impl.button.FinishButton)2