Search in sources :

Example 6 with CollapseAllAction

use of com.intellij.ui.treeStructure.actions.CollapseAllAction in project intellij-community by JetBrains.

the class DomModelTreeView method getPopupActions.

protected ActionGroup getPopupActions() {
    DefaultActionGroup group = new DefaultActionGroup();
    group.add(ActionManager.getInstance().getAction("DomElementsTreeView.TreePopup"));
    group.addSeparator();
    group.add(new ExpandAllAction(myTree));
    group.add(new CollapseAllAction(myTree));
    return group;
}
Also used : CollapseAllAction(com.intellij.ui.treeStructure.actions.CollapseAllAction) ExpandAllAction(com.intellij.ui.treeStructure.actions.ExpandAllAction)

Aggregations

CollapseAllAction (com.intellij.ui.treeStructure.actions.CollapseAllAction)6 ExpandAllAction (com.intellij.ui.treeStructure.actions.ExpandAllAction)5 RunHprofConvAndSaveAsAction (com.android.tools.idea.ddms.hprof.RunHprofConvAndSaveAsAction)1 ContextHelpAction (com.intellij.ide.actions.ContextHelpAction)1 DeleteAction (com.intellij.ide.actions.DeleteAction)1 RevealFileAction (com.intellij.ide.actions.RevealFileAction)1 ProjectViewDirectoryHelper (com.intellij.ide.projectView.impl.nodes.ProjectViewDirectoryHelper)1