public class ActionsCollectorImpl extends ActionsCollector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ID |
Constructor and Description |
---|
ActionsCollectorImpl() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canReportActionId(java.lang.String actionId) |
void |
onActionConfiguredByActionId(AnAction action,
java.lang.String actionId) |
static void |
onActionLoadedFromXml(AnAction action,
java.lang.String actionId,
IdeaPluginDescriptor plugin) |
static void |
onActionsLoadedFromKeymapXml(Keymap keymap,
java.util.Set<java.lang.String> actionIds) |
void |
record(Project project,
AnAction action,
AnActionEvent event,
Language lang)
Records action id for global actions or action class name for actions generated on runtime.
|
void |
record(java.lang.String actionId,
java.awt.event.InputEvent event,
java.lang.Class context)
Records explicitly whitelisted actions with input event
|
static void |
record(java.lang.String groupId,
Project project,
AnAction action,
AnActionEvent event,
java.util.function.Consumer<FeatureUsageData> configurator)
Deprecated.
Reporting dynamic action id as event id is deprecated. All event ids should be enumerable and known before ahead.
|
static void |
record(java.lang.String groupId,
java.lang.String eventId,
Project project,
AnAction action,
AnActionEvent event,
java.util.function.Consumer<FeatureUsageData> configurator) |
getInstance, record, record, record
public static final java.lang.String DEFAULT_ID
public void record(java.lang.String actionId, java.awt.event.InputEvent event, java.lang.Class context)
ActionsCollector
record
in class ActionsCollector
public void record(Project project, AnAction action, AnActionEvent event, Language lang)
ActionsCollector
record
in class ActionsCollector
@Deprecated public static void record(java.lang.String groupId, Project project, AnAction action, AnActionEvent event, java.util.function.Consumer<FeatureUsageData> configurator)
public static void record(java.lang.String groupId, java.lang.String eventId, Project project, AnAction action, AnActionEvent event, java.util.function.Consumer<FeatureUsageData> configurator)
public static boolean canReportActionId(java.lang.String actionId)
public void onActionConfiguredByActionId(AnAction action, java.lang.String actionId)
onActionConfiguredByActionId
in class ActionsCollector
public static void onActionLoadedFromXml(AnAction action, java.lang.String actionId, IdeaPluginDescriptor plugin)
public static void onActionsLoadedFromKeymapXml(Keymap keymap, java.util.Set<java.lang.String> actionIds)