void function ( AnActionEvent arg0 ) { }
updates the state of the action . default implementation does nothing . override this method to provide the ability to dynamically change action 's state and or presentation depending on the context for example when your action state depends on the selection you can check for selection and change the state accordingly . this method can be called frequently , for instance , if an action is added to a toolbar , it will be updated twice a second . this means that this method is supposed to work really fast , no real work should be done at this phase . for example , checking selection in a tree or a list , is considered valid , but working with a file system is not . if you can not understand the state of the action fast you should do it in the #actionperformed anactionevent method and notifythe user that action can not be executed if it 's the case . concode_field_sep Presentation myTemplatePresentation concode_elem_sep Key<List<AnAction>> ACTIONS_KEY concode_elem_sep boolean myIsGlobal concode_elem_sep boolean myIsDefaultIcon concode_elem_sep boolean myEnabledInModalContext concode_elem_sep ShortcutSet myShortcutSet concode_elem_sep boolean myWorksInInjected concode_elem_sep AnAction[] EMPTY_ARRAY concode_elem_sep Logger LOG concode_field_sep void beforeActionPerformedUpdate concode_elem_sep boolean startInTransaction concode_elem_sep boolean isDumbAware concode_elem_sep ShortcutSet getShortcutSet concode_elem_sep void markAsGlobal concode_elem_sep void setEnabledInModalContext concode_elem_sep boolean isTransparentUpdate concode_elem_sep void setInjectedContext concode_elem_sep void registerCustomShortcutSet concode_elem_sep void registerCustomShortcutSet concode_elem_sep void registerCustomShortcutSet concode_elem_sep void registerCustomShortcutSet concode_elem_sep boolean displayTextInToolbar concode_elem_sep boolean isInInjectedContext concode_elem_sep boolean isEnabledInModalContext concode_elem_sep void copyFrom concode_elem_sep Project getEventProject concode_elem_sep Presentation getTemplatePresentation concode_elem_sep void actionPerformed concode_elem_sep void setShortcutSet concode_elem_sep void setDefaultIcon concode_elem_sep void copyShortcutFrom concode_elem_sep boolean isDefaultIcon concode_elem_sep String toString concode_elem_sep void unregisterCustomShortcutSet