ActionGroup () { final DefaultActionGroup group = new DefaultActionGroup(); group.add(new PutSourceItemIntoDefaultLocationAction(this, myArtifactsEditor)); group.add(new PackAndPutIntoDefaultLocationAction(this, myArtifactsEditor)); group.add(new PutSourceItemIntoParentAndLinkViaManifestAction(this, myArtifactsEditor)); group.add(new ExtractIntoDefaultLocationAction(this, myArtifactsEditor)); group.add(Separator.getInstance()); group.add(new SourceItemNavigateAction(this)); group.add(new SourceItemFindUsagesAction(this, myArtifactsEditor.getContext().getParent())); DefaultTreeExpander expander = new DefaultTreeExpander(this); final CommonActionsManager commonActionsManager = CommonActionsManager.getInstance(); group.add(Separator.getInstance()); group.addAction(commonActionsManager.createExpandAllAction(expander, this)); group.addAction(commonActionsManager.createCollapseAllAction(expander, this)); return group; }