Class StructureTreeAction

  • All Implemented Interfaces:
    com.intellij.openapi.project.PossiblyDumbAware

    public abstract class StructureTreeAction
    extends TreeAction
    • Nested Class Summary

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

        com.intellij.openapi.actionSystem.AnAction.TransparentUpdate
    • Field Summary

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

        ACTIONS_KEY, EMPTY_ARRAY
    • Constructor Summary

      Constructors 
      Constructor Description
      StructureTreeAction​(boolean acceptMultipleItems, java.lang.Class... filters)  
      StructureTreeAction​(java.lang.Class... filters)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object adjust​(java.lang.Object selected)
      Allows to adjust the selected user object for models that users intermediate user object (see StructureTreeModel
      static <T> T getElement​(java.lang.Object selected)  
      • Methods inherited from class com.intellij.openapi.actionSystem.AnAction

        addSynonym, addTextOverride, addTextOverride, applyTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyActionTextOverride, copyActionTextOverrides, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getSynonyms, getTemplatePresentation, getTemplateText, isDefaultIcon, 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
      • Methods inherited from interface com.intellij.openapi.project.PossiblyDumbAware

        isDumbAware
    • Constructor Detail

      • StructureTreeAction

        public StructureTreeAction​(java.lang.Class... filters)
      • StructureTreeAction

        public StructureTreeAction​(boolean acceptMultipleItems,
                                   java.lang.Class... filters)
    • Method Detail

      • getElement

        public static <T> T getElement​(java.lang.Object selected)
      • adjust

        protected java.lang.Object adjust​(java.lang.Object selected)
        Description copied from class: TreeAction
        Allows to adjust the selected user object for models that users intermediate user object (see StructureTreeModel
        Overrides:
        adjust in class TreeAction
        Parameters:
        selected - the original selected user object
        Returns:
        the real user object