Example usage for com.intellij.openapi.ui DialogWrapper getPeer

List of usage examples for com.intellij.openapi.ui DialogWrapper getPeer

Introduction

In this page you can find the example usage for com.intellij.openapi.ui DialogWrapper getPeer.

Prototype

@NotNull
    public final DialogWrapperPeer getPeer() 

Source Link

Usage

From source file:automation.RobotControlWindow.java

License:Apache License

private static Window findWindow(Component component) {
    DialogWrapper dialogWrapper = DialogWrapper.findInstance(component);
    if (dialogWrapper != null) {
        return dialogWrapper.getPeer().getWindow();
    }/*w  w w .  j av a 2s.c o  m*/
    return null;
}