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.TransparentUpdateNested classes/interfaces inherited from interface com.intellij.openapi.actionSystem.ActionUpdateThreadAware
com.intellij.openapi.actionSystem.ActionUpdateThreadAware.Recursive -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ConfigThis variable is the configuration.private static EyeTrackerThis variable is the eye tracker.private static IDETrackerThis variable is the IDE tracker.private static booleanThis variable indicates whether the tracking is started.private final ScreenRecorderThis variable is the screen recorder.Fields inherited from class com.intellij.openapi.actionSystem.AnAction
ACTIONS_KEY, EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e) This method is called when the action is performed.static booleanisPaused()static booleanstatic voidstatic voidvoidupdate(@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
-
Field Details
-
isTracking
private static boolean isTrackingThis variable indicates whether the tracking is started. -
iDETracker
This variable is the IDE tracker. -
eyeTracker
This variable is the eye tracker. -
screenRecorder
This variable is the screen recorder. -
config
Config configThis 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:
updatein classcom.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:
actionPerformedin classcom.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()
-