Register custom user-defined clipboard format. Registers global system-wide clipboard format, which can be used across different applications. If format with the same string formatId already registered, then returns existing clipboard format instance. If format with provided
(String formatId)
| 81 | * @return Clipboard format instance |
| 82 | */ |
| 83 | @NotNull @SneakyThrows |
| 84 | public static ClipboardFormat registerFormat(String formatId) { |
| 85 | assert _onUIThread() : "Should be run on UI thread"; |
| 86 | return _registerFormatInternal(formatId, true); |
| 87 | } |
| 88 | |
| 89 | @ApiStatus.Internal @NotNull @SneakyThrows |
| 90 | public static ClipboardFormat _registerPredefinedFormat(String formatId) { |
nothing calls this directly
no test coverage detected