diff --git a/platform/editor-ui-api/api-dump.txt b/platform/editor-ui-api/api-dump.txt index 6ffa5012c3d1..9f9df5fbc64a 100644 --- a/platform/editor-ui-api/api-dump.txt +++ b/platform/editor-ui-api/api-dump.txt @@ -2689,12 +2689,12 @@ a:com.intellij.openapi.ide.CopyPasteManager - a:getContents(java.awt.datatransfer.DataFlavor):java.lang.Object - s:getCutColor():java.awt.Color - s:getInstance():com.intellij.openapi.ide.CopyPasteManager -- a:getSystemSelectionContents():java.awt.datatransfer.Transferable +- getSystemSelectionContents():java.awt.datatransfer.Transferable - a:isCutElement(java.lang.Object):Z -- a:isSystemSelectionSupported():Z +- isSystemSelectionSupported():Z - a:removeContentChangedListener(com.intellij.openapi.ide.CopyPasteManager$ContentChangedListener):V - a:setContents(java.awt.datatransfer.Transferable):V -- a:setSystemSelectionContents(java.awt.datatransfer.Transferable):V +- setSystemSelectionContents(java.awt.datatransfer.Transferable):V - a:stopKillRings():V - a:stopKillRings(com.intellij.openapi.editor.Document):V com.intellij.openapi.ide.CopyPasteManager$ContentChangedListener diff --git a/platform/editor-ui-api/src/com/intellij/openapi/ide/CopyPasteManager.java b/platform/editor-ui-api/src/com/intellij/openapi/ide/CopyPasteManager.java index ba9fc1a20e30..1b35a179251e 100644 --- a/platform/editor-ui-api/src/com/intellij/openapi/ide/CopyPasteManager.java +++ b/platform/editor-ui-api/src/com/intellij/openapi/ide/CopyPasteManager.java @@ -78,18 +78,22 @@ public abstract class CopyPasteManager { /** * Tells whether {@linkplain Toolkit#getSystemSelection() system selection} is supported in the current system. */ - public abstract boolean isSystemSelectionSupported(); + public boolean isSystemSelectionSupported() { + return false; + } /** * Returns current system selection contents, or {@code null} if system selection has no contents, or if it's * {@linkplain #isSystemSelectionSupported() not supported}. */ - public abstract @Nullable Transferable getSystemSelectionContents(); + public @Nullable Transferable getSystemSelectionContents() { + return null; + } /** * Sets current system selection contents. Does nothing if system selection is {@linkplain #isSystemSelectionSupported() not supported}. */ - public abstract void setSystemSelectionContents(@NotNull Transferable content); + public void setSystemSelectionContents(@NotNull Transferable content) {} public interface ContentChangedListener extends EventListener { void contentChanged(final @Nullable Transferable oldTransferable, final Transferable newTransferable);