()
| 107 | } |
| 108 | |
| 109 | public static void openSymbolsPalette() { |
| 110 | assert _onUIThread() : "Should be run on UI thread"; |
| 111 | if (Platform.CURRENT == Platform.MACOS) |
| 112 | _nOpenSymbolsPalette(); |
| 113 | else |
| 114 | throw new RuntimeException("Not supported on " + Platform.CURRENT); |
| 115 | } |
| 116 | |
| 117 | @ApiStatus.Internal public static boolean _onUIThread() { |
| 118 | return _uiThreadId == Thread.currentThread().getId(); |
no test coverage detected