mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
GitOrigin-RevId: 3d08f406717efba10dbea80bc6f5c8c6d3e243d5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5d4584e33
commit
12aed3f980
+2
-4
@@ -25,8 +25,7 @@ import java.util.function.Consumer;
|
||||
/**
|
||||
* An action that opens emoji picker popup, selected by user.
|
||||
*/
|
||||
public class OpenEmojiPickerAction extends DumbAwareAction {
|
||||
|
||||
final class OpenEmojiPickerAction extends DumbAwareAction {
|
||||
private static Context getContext(AnActionEvent e, boolean findOnly) {
|
||||
Editor editor = e.getData(CommonDataKeys.EDITOR);
|
||||
if (editor != null) {
|
||||
@@ -104,8 +103,7 @@ public class OpenEmojiPickerAction extends DumbAwareAction {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static class Context {
|
||||
private static final class Context {
|
||||
private static final Context FOUND = new Context(null, null);
|
||||
private final Consumer<String> myInputCallback;
|
||||
private final Consumer<JBPopup> myPopupShowCallback;
|
||||
|
||||
@@ -14,7 +14,7 @@ import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.font.TextLayout;
|
||||
|
||||
public class EmojiInfoPanel extends JPanel {
|
||||
public final class EmojiInfoPanel extends JPanel {
|
||||
private final EmojiPickerStyle myStyle;
|
||||
@NlsSafe private String myCurrentEmoji;
|
||||
@Nls private String myCurrentEmojiName;
|
||||
|
||||
@@ -22,8 +22,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
|
||||
public class EmojiPicker extends JLayeredPane {
|
||||
public final class EmojiPicker extends JLayeredPane {
|
||||
private static final JBDimension DEFAULT_SIZE = new JBDimension(358, 415);
|
||||
|
||||
private final List<EmojiCategory> myCategories;
|
||||
|
||||
Reference in New Issue
Block a user