mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
schedule DataManager.registerDataProvider for removal
GitOrigin-RevId: f22eee72d7b8ba16228955ac27e1c5b9c2f3c203
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f5c0954ed9
commit
2f61fa2a7b
@@ -80,7 +80,7 @@ public abstract class DataManager {
|
||||
public abstract @Nullable Object getCustomizedData(@NotNull String dataId, @NotNull DataContext dataContext, @NotNull DataProvider provider);
|
||||
|
||||
/**
|
||||
* Use {@link com.intellij.openapi.actionSystem.CustomizedDataContext#customize} instead
|
||||
* Use {@link com.intellij.openapi.actionSystem.CustomizedDataContext#withSnapshot} instead
|
||||
*/
|
||||
@ApiStatus.Internal
|
||||
public abstract @NotNull DataContext customizeDataContext(@NotNull DataContext dataContext, @NotNull Object provider);
|
||||
@@ -110,7 +110,7 @@ public abstract class DataManager {
|
||||
*
|
||||
* @deprecated Use {@link UiDataProvider} or {@link UiDataProvider#wrapComponent}
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(forRemoval = true)
|
||||
public static void registerDataProvider(@NotNull JComponent component, @NotNull DataProvider provider) {
|
||||
if (component instanceof UiDataProvider) {
|
||||
LOG.warn(String.format("Registering CLIENT_PROPERTY_DATA_PROVIDER on component implementing UiDataProvider. " +
|
||||
|
||||
Reference in New Issue
Block a user