mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "Remove deprecated method"
This reverts commit 5d15a74d GitOrigin-RevId: 74ed8f163f9cf0fa7cec16feb05947df2297723d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1e280c9e06
commit
f915a3cf13
+14
-1
@@ -55,6 +55,7 @@ public class ColoredProcessHandler extends KillableProcessHandler implements Ans
|
||||
*/
|
||||
@Override
|
||||
public void coloredTextAvailable(@NotNull String text, @NotNull Key attributes) {
|
||||
textAvailable(text, attributes);
|
||||
notifyColoredListeners(text, attributes);
|
||||
}
|
||||
|
||||
@@ -71,4 +72,16 @@ public class ColoredProcessHandler extends KillableProcessHandler implements Ans
|
||||
public void removeColoredTextListener(AnsiEscapeDecoder.ColoredTextAcceptor listener) {
|
||||
myColoredTextListeners.remove(listener);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Inheritors should override coloredTextAvailable method
|
||||
* or implement {@link com.intellij.execution.process.AnsiEscapeDecoder.ColoredChunksAcceptor}
|
||||
* and override method coloredChunksAvailable to process colored chunks.
|
||||
* To be removed in IDEA 14.
|
||||
*/
|
||||
@Deprecated
|
||||
@ApiStatus.ScheduledForRemoval(inVersion = "2014")
|
||||
protected void textAvailable(final String text, final Key attributes) {
|
||||
super.notifyTextAvailable(text, attributes);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user