connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/ui/StatusDisplay.java
equal
deleted
inserted
replaced
132 private Shell getModalShell(Display display) { |
132 private Shell getModalShell(Display display) { |
133 Shell[] shells = display.getShells(); |
133 Shell[] shells = display.getShells(); |
134 for (int i = shells.length - 1; i >= 0; i--) { |
134 for (int i = shells.length - 1; i >= 0; i--) { |
135 Shell shell = shells[i]; |
135 Shell shell = shells[i]; |
136 if ((shell.getStyle() & MODAL_MASK) != 0) { |
136 if ((shell.getStyle() & MODAL_MASK) != 0) { |
137 System.out.println(shell.getText() + ":" + shell.getBounds()); |
|
138 return shell; |
137 return shell; |
139 } |
138 } |
140 } |
139 } |
141 return null; |
140 return null; |
142 } |
141 } |