Search in sources :

Example 6 with DefaultGroup

use of org.eclipse.reddeer.swt.impl.group.DefaultGroup in project jbosstools-openshift by jbosstools.

the class GitCloningWizardPage method useExistingRepository.

public void useExistingRepository(boolean useExistingRepository) {
    CheckBox useExistingRepositoryCheckBox = new CheckBox(new DefaultGroup("Clone destination"), "Do not clone - use existing repository");
    useExistingRepositoryCheckBox.toggle(useExistingRepository);
}
Also used : CheckBox(org.eclipse.reddeer.swt.impl.button.CheckBox) DefaultGroup(org.eclipse.reddeer.swt.impl.group.DefaultGroup)

Example 7 with DefaultGroup

use of org.eclipse.reddeer.swt.impl.group.DefaultGroup in project jbosstools-hibernate by jbosstools.

the class TableFilterWizardPage method refreshDatabaseSchema.

/**
 * Refreshes database schema
 */
public void refreshDatabaseSchema() {
    new PushButton(referencedComposite, "Refresh").click();
    DefaultGroup group = new DefaultGroup(referencedComposite, "Database schema:");
    DefaultTree tree = new DefaultTree(group);
    new WaitUntil(new TreeHasChildren(tree));
}
Also used : DefaultTree(org.eclipse.reddeer.swt.impl.tree.DefaultTree) DefaultGroup(org.eclipse.reddeer.swt.impl.group.DefaultGroup) TreeHasChildren(org.eclipse.reddeer.swt.condition.TreeHasChildren) PushButton(org.eclipse.reddeer.swt.impl.button.PushButton) WaitUntil(org.eclipse.reddeer.common.wait.WaitUntil)

Example 8 with DefaultGroup

use of org.eclipse.reddeer.swt.impl.group.DefaultGroup in project jbosstools-hibernate by jbosstools.

the class EditConfigurationMainPage method setConfigurationFile.

/**
 * Set configuration file for Hibernate Console Configuration
 * @param file given file path
 */
public void setConfigurationFile(String file) {
    DefaultGroup g = new DefaultGroup("Configuration file:");
    new DefaultText(g, 0).setText(file);
}
Also used : DefaultText(org.eclipse.reddeer.swt.impl.text.DefaultText) DefaultGroup(org.eclipse.reddeer.swt.impl.group.DefaultGroup)

Example 9 with DefaultGroup

use of org.eclipse.reddeer.swt.impl.group.DefaultGroup in project jbosstools-hibernate by jbosstools.

the class JpaFacetInstallPage method setConnectionProfile.

/**
 * Sets connection profile for JPA
 * @param profileName given connection profile
 */
public void setConnectionProfile(String profileName) {
    DefaultGroup group = new DefaultGroup(referencedComposite, "Connection");
    new WaitUntil(new ControlIsEnabled(new DefaultCombo(group)));
    new DefaultCombo(group).setSelection(profileName);
    PushButton apply = new PushButton(referencedComposite, "Apply");
    apply.click();
    new WaitWhile(new JobIsRunning());
    new WaitWhile(new ShellIsAvailable("Progress Information"), TimePeriod.LONG);
}
Also used : ShellIsAvailable(org.eclipse.reddeer.swt.condition.ShellIsAvailable) DefaultCombo(org.eclipse.reddeer.swt.impl.combo.DefaultCombo) WaitWhile(org.eclipse.reddeer.common.wait.WaitWhile) ControlIsEnabled(org.eclipse.reddeer.swt.condition.ControlIsEnabled) DefaultGroup(org.eclipse.reddeer.swt.impl.group.DefaultGroup) JobIsRunning(org.eclipse.reddeer.workbench.core.condition.JobIsRunning) WaitUntil(org.eclipse.reddeer.common.wait.WaitUntil) PushButton(org.eclipse.reddeer.swt.impl.button.PushButton)

Aggregations

DefaultGroup (org.eclipse.reddeer.swt.impl.group.DefaultGroup)9 WaitUntil (org.eclipse.reddeer.common.wait.WaitUntil)3 ShellIsAvailable (org.eclipse.reddeer.swt.condition.ShellIsAvailable)3 DefaultCombo (org.eclipse.reddeer.swt.impl.combo.DefaultCombo)3 WaitWhile (org.eclipse.reddeer.common.wait.WaitWhile)2 CheckBox (org.eclipse.reddeer.swt.impl.button.CheckBox)2 PushButton (org.eclipse.reddeer.swt.impl.button.PushButton)2 DefaultText (org.eclipse.reddeer.swt.impl.text.DefaultText)2 Shell (org.eclipse.reddeer.swt.api.Shell)1 ControlIsEnabled (org.eclipse.reddeer.swt.condition.ControlIsEnabled)1 TreeHasChildren (org.eclipse.reddeer.swt.condition.TreeHasChildren)1 NextButton (org.eclipse.reddeer.swt.impl.button.NextButton)1 OkButton (org.eclipse.reddeer.swt.impl.button.OkButton)1 RadioButton (org.eclipse.reddeer.swt.impl.button.RadioButton)1 LabeledCombo (org.eclipse.reddeer.swt.impl.combo.LabeledCombo)1 ContextMenuItem (org.eclipse.reddeer.swt.impl.menu.ContextMenuItem)1 DefaultShell (org.eclipse.reddeer.swt.impl.shell.DefaultShell)1 DefaultTree (org.eclipse.reddeer.swt.impl.tree.DefaultTree)1 DefaultHyperlink (org.eclipse.reddeer.uiforms.impl.hyperlink.DefaultHyperlink)1 JobIsRunning (org.eclipse.reddeer.workbench.core.condition.JobIsRunning)1