Search in sources :

Example 1 with LabeledCombo

use of org.eclipse.reddeer.swt.impl.combo.LabeledCombo in project linuxtools by eclipse.

the class ImageRunNetworkPage method setContainerNetworkMode.

public void setContainerNetworkMode(String containerName) {
    new RadioButton("Container:").click();
    new LabeledCombo("").setText(containerName);
}
Also used : LabeledCombo(org.eclipse.reddeer.swt.impl.combo.LabeledCombo) RadioButton(org.eclipse.reddeer.swt.impl.button.RadioButton)

Example 2 with LabeledCombo

use of org.eclipse.reddeer.swt.impl.combo.LabeledCombo in project linuxtools by eclipse.

the class RunDockerImageLaunchConfiguration method selectImage.

public void selectImage(String imageName) {
    selectTab(MAIN_TAB_LABEL);
    new LabeledCombo("Image:").setSelection(imageName);
}
Also used : LabeledCombo(org.eclipse.reddeer.swt.impl.combo.LabeledCombo)

Example 3 with LabeledCombo

use of org.eclipse.reddeer.swt.impl.combo.LabeledCombo in project linuxtools by eclipse.

the class RunDockerImageLaunchConfiguration method selectConnection.

// Main tab
public void selectConnection(String connectionName) {
    selectTab(MAIN_TAB_LABEL);
    new LabeledCombo("Connection:").setSelection(connectionName);
}
Also used : LabeledCombo(org.eclipse.reddeer.swt.impl.combo.LabeledCombo)

Example 4 with LabeledCombo

use of org.eclipse.reddeer.swt.impl.combo.LabeledCombo in project jbosstools-hibernate by jbosstools.

the class GenerateDdlWizardPage method setHibernateVersion.

/**
 * Set Hibernate Version for table/ddl generation
 * @param hbVersion hibernate version
 */
public void setHibernateVersion(String hbVersion) {
    LabeledCombo lc = new LabeledCombo(referencedComposite, "Hibernate Version:");
    lc.setSelection(hbVersion);
}
Also used : LabeledCombo(org.eclipse.reddeer.swt.impl.combo.LabeledCombo)

Example 5 with LabeledCombo

use of org.eclipse.reddeer.swt.impl.combo.LabeledCombo in project jbosstools-hibernate by jbosstools.

the class ProjectConfigurationFactory method addFurtherJPAConfiguration.

private static void addFurtherJPAConfiguration(String jpaVersion, boolean addedJavaFacet) {
    DefaultHyperlink hyperlink = new DefaultHyperlink();
    hyperlink.activate();
    Shell s = new DefaultShell("Modify Faceted Project");
    if (addedJavaFacet) {
        new NextButton().click();
    }
    DefaultGroup group = new DefaultGroup("Platform");
    new DefaultCombo(group).setSelection("Hibernate (JPA " + jpaVersion + ")");
    new LabeledCombo("Type:").setSelection("Disable Library Configuration");
    new OkButton().click();
    new WaitWhile(new ShellIsAvailable(s));
}
Also used : OkButton(org.eclipse.reddeer.swt.impl.button.OkButton) ShellIsAvailable(org.eclipse.reddeer.swt.condition.ShellIsAvailable) DefaultCombo(org.eclipse.reddeer.swt.impl.combo.DefaultCombo) DefaultShell(org.eclipse.reddeer.swt.impl.shell.DefaultShell) WorkbenchShell(org.eclipse.reddeer.workbench.impl.shell.WorkbenchShell) Shell(org.eclipse.reddeer.swt.api.Shell) NextButton(org.eclipse.reddeer.swt.impl.button.NextButton) WaitWhile(org.eclipse.reddeer.common.wait.WaitWhile) LabeledCombo(org.eclipse.reddeer.swt.impl.combo.LabeledCombo) DefaultHyperlink(org.eclipse.reddeer.uiforms.impl.hyperlink.DefaultHyperlink) DefaultShell(org.eclipse.reddeer.swt.impl.shell.DefaultShell) DefaultGroup(org.eclipse.reddeer.swt.impl.group.DefaultGroup)

Aggregations

LabeledCombo (org.eclipse.reddeer.swt.impl.combo.LabeledCombo)26 LabeledText (org.eclipse.reddeer.swt.impl.text.LabeledText)11 DefaultShell (org.eclipse.reddeer.swt.impl.shell.DefaultShell)10 Test (org.junit.Test)10 WaitWhile (org.eclipse.reddeer.common.wait.WaitWhile)8 ShellIsAvailable (org.eclipse.reddeer.swt.condition.ShellIsAvailable)7 FinishButton (org.eclipse.reddeer.swt.impl.button.FinishButton)6 JobIsRunning (org.eclipse.reddeer.workbench.core.condition.JobIsRunning)6 AbstractTest (org.jboss.tools.openshift.ui.bot.test.application.v3.basic.AbstractTest)6 WaitUntil (org.eclipse.reddeer.common.wait.WaitUntil)5 OkButton (org.eclipse.reddeer.swt.impl.button.OkButton)5 ControlIsEnabled (org.eclipse.reddeer.swt.condition.ControlIsEnabled)4 PushButton (org.eclipse.reddeer.swt.impl.button.PushButton)4 RedDeerException (org.eclipse.reddeer.common.exception.RedDeerException)3 NextButton (org.eclipse.reddeer.swt.impl.button.NextButton)3 DefaultCombo (org.eclipse.reddeer.swt.impl.combo.DefaultCombo)3 ContextMenuItem (org.eclipse.reddeer.swt.impl.menu.ContextMenuItem)3 WorkbenchShell (org.eclipse.reddeer.workbench.impl.shell.WorkbenchShell)3 InternalBrowser (org.eclipse.reddeer.swt.impl.browser.InternalBrowser)2 BackButton (org.eclipse.reddeer.swt.impl.button.BackButton)2