Package actions

Class StartStopTrackingAction

java.lang.Object
com.intellij.openapi.actionSystem.AnAction
actions.StartStopTrackingAction
All Implemented Interfaces:
com.intellij.openapi.actionSystem.ActionUpdateThreadAware, com.intellij.openapi.project.PossiblyDumbAware

public class StartStopTrackingAction extends com.intellij.openapi.actionSystem.AnAction
This class is the action for starting/stopping tracking.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.intellij.openapi.actionSystem.AnAction

    com.intellij.openapi.actionSystem.AnAction.TransparentUpdate

    Nested classes/interfaces inherited from interface com.intellij.openapi.actionSystem.ActionUpdateThreadAware

    com.intellij.openapi.actionSystem.ActionUpdateThreadAware.Recursive
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) Config
    This variable is the configuration.
    private static EyeTracker
    This variable is the eye tracker.
    private static IDETracker
    This variable is the IDE tracker.
    private static boolean
    This variable indicates whether the tracking is started.
    private final ScreenRecorder
    This variable is the screen recorder.

    Fields inherited from class com.intellij.openapi.actionSystem.AnAction

    ACTIONS_KEY, EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    actionPerformed(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e)
    This method is called when the action is performed.
    static boolean
     
    static boolean
     
    static void
     
    static void
     
    void
    update(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e)
    Update the text of the action button.

    Methods inherited from class com.intellij.openapi.actionSystem.AnAction

    addSynonym, addTextOverride, addTextOverride, applyTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyActionTextOverride, copyActionTextOverrides, copyFrom, copyShortcutFrom, displayTextInToolbar, getActionUpdateThread, getEventProject, getShortcutSet, getSynonyms, getTemplatePresentation, getTemplateText, isDefaultIcon, isDumbAware, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • isTracking

      private static boolean isTracking
      This variable indicates whether the tracking is started.
    • iDETracker

      private static IDETracker iDETracker
      This variable is the IDE tracker.
    • eyeTracker

      private static EyeTracker eyeTracker
      This variable is the eye tracker.
    • screenRecorder

      private final ScreenRecorder screenRecorder
      This variable is the screen recorder.
    • config

      Config config
      This variable is the configuration.
  • Constructor Details

    • StartStopTrackingAction

      public StartStopTrackingAction()
  • Method Details

    • update

      public void update(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e)
      Update the text of the action button.
      Overrides:
      update in class com.intellij.openapi.actionSystem.AnAction
      Parameters:
      e - The action event.
    • actionPerformed

      public void actionPerformed(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e)
      This method is called when the action is performed. It will start/stop tracking.
      Specified by:
      actionPerformed in class com.intellij.openapi.actionSystem.AnAction
      Parameters:
      e - The action event.
    • isTracking

      public static boolean isTracking()
    • isPaused

      public static boolean isPaused()
    • pauseTracking

      public static void pauseTracking()
    • resumeTracking

      public static void resumeTracking()