use of org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem in project jbosstools-openshift by jbosstools.
the class AbstractOpenShiftApplicationWizard method openWizardFromCentral.
/**
* Opens a new OpenShift application wizard from JBoss Central.
*/
public void openWizardFromCentral() {
new DefaultToolItem(new WorkbenchShell(), OpenShiftLabel.Others.RED_HAT_CENTRAL).click();
new WaitUntil(new CentralIsLoaded());
new InternalBrowser().execute(OpenShiftLabel.Others.OPENSHIFT_CENTRAL_SCRIPT);
new WaitUntil(new ShellIsAvailable(OpenShiftLabel.Shell.NEW_APP_WIZARD), TimePeriod.LONG);
signToOpenShiftAndClickNext();
new DefaultShell(OpenShiftLabel.Shell.NEW_APP_WIZARD).setFocus();
}
use of org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method deleteRunConfiguration.
public void deleteRunConfiguration(String configuratioName) {
selectConfiguration(configuratioName);
new DefaultToolItem(DELETE_LAUNCH_CONFIGURATION_LABEL).click();
Shell deleteShell = new DefaultShell("Confirm Launch Configuration Deletion");
WidgetIsFound deleteButton = new WidgetIsFound(org.eclipse.swt.widgets.Button.class, deleteShell.getSWTWidget(), new WithMnemonicTextMatcher("Delete"));
Button button;
if (deleteButton.test()) {
// photon changed button text
button = new PushButton(deleteShell, "Delete");
} else {
button = new YesButton(deleteShell);
}
button.click();
new WaitWhile(new ShellIsAvailable(deleteShell));
new WaitUntil(new ShellIsAvailable("Run Configurations"));
}
use of org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem in project linuxtools by eclipse.
the class DockerConnection method removeConnection.
public void removeConnection() {
select();
new DefaultToolItem("Remove Connection").click();
new WaitWhile(new JobIsRunning());
}
use of org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem in project linuxtools by eclipse.
the class NewDockerConnectionPage method open.
public void open() {
new DockerExplorerView().open();
new DefaultToolItem("Add Connection").click();
new WaitUntil(new ShellIsAvailable(NEW_DOCKER_CONNECTION_SHELL), TimePeriod.LONG);
}
use of org.eclipse.reddeer.swt.impl.toolbar.DefaultToolItem in project jbosstools-openshift by jbosstools.
the class DebuggingEAPAppTest method disableShowConsoleWhenOutputChanges.
private static void disableShowConsoleWhenOutputChanges() {
ConsoleView consoleView = new ConsoleView();
consoleView.open();
new WaitUntil(new ShowConsoleOutputToolItemIsAvailable(), TimePeriod.VERY_LONG);
DefaultToolItem showConsoleOnChange = new DefaultToolItem(new WorkbenchShell(), "Show Console Output When Standard Out Changes");
showConsoleOnChange.click();
}
Aggregations