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.project.PossiblyDumbAware
public abstract class StructureTreeAction extends TreeAction
-
-
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.Objectadjust(java.lang.Object selected)Allows to adjust the selected user object for models that users intermediate user object (seeStructureTreeModelstatic <T> TgetElement(java.lang.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
beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
-
-
-
-
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:TreeActionAllows to adjust the selected user object for models that users intermediate user object (seeStructureTreeModel- Overrides:
adjustin classTreeAction- Parameters:
selected- the original selected user object- Returns:
- the real user object
-
-