Class StructureTreeAction

java.lang.Object
com.intellij.openapi.actionSystem.AnAction
com.redhat.devtools.intellij.common.actions.TreeAction
com.redhat.devtools.intellij.common.actions.StructureTreeAction
All Implemented Interfaces:
com.intellij.openapi.actionSystem.ActionUpdateThreadAware, com.intellij.openapi.project.PossiblyDumbAware

public abstract class StructureTreeAction extends TreeAction
  • Nested Class Summary

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

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

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

    ACTIONS_KEY, EMPTY_ARRAY
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected Object
    adjust(Object selected)
    Allows to adjust the selected user object for models that users intermediate user object (see StructureTreeModel
    @NotNull com.intellij.openapi.actionSystem.ActionUpdateThread
     
    static <T> T
    getElement(Object selected)
     

    Methods inherited from class com.redhat.devtools.intellij.common.actions.TreeAction

    actionPerformed, actionPerformed, actionPerformed, getSelected, getSelectedNodes, getTree, isEnabled, isEnabled, isVisible, isVisible, update

    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, isDumbAware, isEnabledInModalContext, isInInjectedContext, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar

    Methods inherited from class java.lang.Object

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

    • StructureTreeAction

      public StructureTreeAction(Class... filters)
    • StructureTreeAction

      public StructureTreeAction(boolean acceptMultipleItems, Class... filters)
  • Method Details

    • getElement

      public static <T> T getElement(Object selected)
    • adjust

      protected Object adjust(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
    • getActionUpdateThread

      @NotNull public @NotNull com.intellij.openapi.actionSystem.ActionUpdateThread getActionUpdateThread()
      Specified by:
      getActionUpdateThread in interface com.intellij.openapi.actionSystem.ActionUpdateThreadAware
      Overrides:
      getActionUpdateThread in class com.intellij.openapi.actionSystem.AnAction