summaryrefslogtreecommitdiff
path: root/platform/platform-api/src/com/intellij/ui/ColorChooserService.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/platform-api/src/com/intellij/ui/ColorChooserService.java')
-rw-r--r--platform/platform-api/src/com/intellij/ui/ColorChooserService.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/platform-api/src/com/intellij/ui/ColorChooserService.java b/platform/platform-api/src/com/intellij/ui/ColorChooserService.java
index 6ecad03496ef..6f34e5e7fc05 100644
--- a/platform/platform-api/src/com/intellij/ui/ColorChooserService.java
+++ b/platform/platform-api/src/com/intellij/ui/ColorChooserService.java
@@ -19,6 +19,7 @@ import com.intellij.openapi.components.ServiceManager;
import org.jetbrains.annotations.Nullable;
import java.awt.*;
+import java.util.List;
/**
* @author Konstantin Bulenkov
@@ -29,10 +30,22 @@ public abstract class ColorChooserService {
}
@Nullable
+ @Deprecated
+ /**
+ * @deprecated Use {@link #showDialog(java.awt.Component, String, java.awt.Color, boolean, java.util.List, boolean)}
+ */
public abstract Color showDialog(Component parent, String caption, Color preselectedColor, boolean enableOpacity,
ColorPickerListener[] listeners);
@Nullable
+ @Deprecated
+ /**
+ * @deprecated Use {@link #showDialog(java.awt.Component, String, java.awt.Color, boolean, java.util.List, boolean)}
+ */
public abstract Color showDialog(Component parent, String caption, Color preselectedColor, boolean enableOpacity,
ColorPickerListener[] listeners, boolean opacityInPercent);
+
+ @Nullable
+ public abstract Color showDialog(Component parent, String caption, Color preselectedColor, boolean enableOpacity,
+ List<ColorPickerListener> listeners, boolean opacityInPercent);
}