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);
}
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));
}
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);
}
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);
}
Aggregations