Example usage for org.eclipse.jface.dialogs InputDialog getShell

List of usage examples for org.eclipse.jface.dialogs InputDialog getShell

Introduction

In this page you can find the example usage for org.eclipse.jface.dialogs InputDialog getShell.

Prototype

@Override
public Shell getShell() 

Source Link

Document

Returns this window's shell.

Usage

From source file:com.mentor.nucleus.bp.test.common.UITestingUtilities.java

License:Open Source License

public static String findInputDialogErrorText(InputDialog dialog) {
    List<Text> texts = findTextInControl(dialog.getShell());
    return texts.get(1).getText();
}

From source file:com.mentor.nucleus.bp.test.common.UITestingUtilities.java

License:Open Source License

public static Text findInputDialogTextField(InputDialog dialog) {
    List<Text> texts = findTextInControl(dialog.getShell());
    return texts.get(0);
}