use of org.eclipse.reddeer.swt.impl.menu.ShellMenu in project linuxtools by eclipse.
the class AbstractView method openViaMenu.
private void openViaMenu() {
WithTextMatchers m = new WithTextMatchers(new RegexMatcher[] { new RegexMatcher("Window.*"), new RegexMatcher("Show View.*"), new RegexMatcher("Other...*") });
new ShellMenu().getItem(m.getMatchers()).select();
new DefaultShell(SHOW_VIEW);
new DefaultTreeItem(path).select();
new PushButton("Open").click();
new WaitWhile(new ShellIsAvailable(SHOW_VIEW));
new WaitUntil(new ViewCTabIsAvailable());
}
use of org.eclipse.reddeer.swt.impl.menu.ShellMenu in project linuxtools by eclipse.
the class RunDockerImageLaunchConfiguration method open.
/**
* Opens Run configuration dialog
*/
public void open() {
DockerPerspective p = new DockerPerspective();
p.open();
new ShellMenu().getItem("Run", "Run Configurations...").select();
new WaitUntil(new ShellIsAvailable("Run Configurations"));
}
use of org.eclipse.reddeer.swt.impl.menu.ShellMenu in project linuxtools by eclipse.
the class ComposeTest method importProject.
private void importProject(String path) {
new ShellMenu().getItem("File", "Open Projects from File System...").select();
new LabeledCombo("Import source:").setText(path);
new FinishButton().click();
new WaitWhile(new JobIsRunning());
}
Aggregations