List of usage examples for com.intellij.openapi.actionSystem IdeActions ACTION_ANALYZE_BACK_DEPENDENCIES
String ACTION_ANALYZE_BACK_DEPENDENCIES
To view the source code for com.intellij.openapi.actionSystem IdeActions ACTION_ANALYZE_BACK_DEPENDENCIES.
Click Source Link
From source file:com.intellij.moduleDependencies.ModulesDependenciesPanel.java
License:Apache License
private static ActionGroup createTreePopupActions(final boolean isRightTree, final Tree tree) { DefaultActionGroup group = new DefaultActionGroup(); final TreeExpander treeExpander = new TreeExpander() { @Override/*from ww w. j a va2s .com*/ public void expandAll() { TreeUtil.expandAll(tree); } @Override public boolean canExpand() { return isRightTree; } @Override public void collapseAll() { TreeUtil.collapseAll(tree, 3); } @Override public boolean canCollapse() { return true; } }; final CommonActionsManager actionManager = CommonActionsManager.getInstance(); if (isRightTree) { group.add(actionManager.createExpandAllAction(treeExpander, tree)); } group.add(actionManager.createCollapseAllAction(treeExpander, tree)); final ActionManager globalActionManager = ActionManager.getInstance(); group.add(globalActionManager.getAction(IdeActions.ACTION_EDIT_SOURCE)); group.add(AnSeparator.getInstance()); group.add(globalActionManager.getAction(IdeActions.ACTION_ANALYZE_DEPENDENCIES)); group.add(globalActionManager.getAction(IdeActions.ACTION_ANALYZE_BACK_DEPENDENCIES)); //non exists in platform group.add(globalActionManager.getAction(IdeActions.ACTION_ANALYZE_CYCLIC_DEPENDENCIES)); return group; }
From source file:org.cordovastudio.startup.CordovaStudioInitializer.java
License:Apache License
private void hideIdeaActions() { hideAction("NewPackageInfo", "package-info.java"); hideAction("NewForm", "GUI Form"); hideAction("NewDialog", "Dialog"); hideAction("NewFormSnapshot", "Form Snapshot"); replaceAction("Groovy.NewClass", new EmptyAction()); replaceAction("Groovy.NewScript", new EmptyAction()); hideAction("NewModule", "New Module..."); hideAction("NewModuleInGroup", "Module"); hideAction("CreateLibraryFromFile", "Add As Library..."); hideAction("ImportModule", "Import Module..."); //hideAction(IdeActions.GROUP_MOVE_MODULE_TO_GROUP, "Move Module to Group"); hideAction(IdeActions.MODULE_SETTINGS, "Module Settings"); //hideAction(IdeActions.GROUP_WELCOME_SCREEN_DOC, "Docs and How-Tos"); //hideAction(IdeActions.GROUP_WELCOME_SCREEN_QUICKSTART, "WelcomeScreen.QuickStart"); //TODO: find name hideAction(IdeActions.ACTION_EXTERNAL_JAVADOC, "External Documentation"); hideAction(IdeActions.ACTION_QUICK_JAVADOC, "Quick Documentation"); hideAction("AddFrameworkSupport", "Add Framework Support..."); hideAction(IdeActions.ACTION_GENERATE_ANT_BUILD, "Generate Ant Build..."); hideAction("BuildArtifact", "Build Artifacts..."); hideAction("RunTargetAction", "Run Ant Target"); hideAction(IdeActions.ACTION_MAKE_MODULE, "Make Module"); hideAction(IdeActions.ACTION_GENERATE_ANT_BUILD, "Generate Ant Build..."); hideAction(IdeActions.ACTION_INSPECT_CODE, "Inspect Code..."); //hideAction(IdeActions.GROUP_DEBUGGER, "DebuggerActions"); //TODO: find name hideAction(IdeActions.ACTION_DEFAULT_DEBUGGER, "Debug"); hideAction(IdeActions.ACTION_TOGGLE_LINE_BREAKPOINT, "Toggle Line Breakpoint"); //hideAction(IdeActions.GROUP_USAGE_VIEW_POPUP, "UsageView.Popup"); //TODO: find name hideAction(IdeActions.ACTION_GOTO_DECLARATION, "Declaration"); hideAction(IdeActions.ACTION_GOTO_TYPE_DECLARATION, "Type Declaration"); hideAction(IdeActions.ACTION_GOTO_IMPLEMENTATION, "Implementation(s)"); hideAction(IdeActions.ACTION_ANALYZE_DEPENDENCIES, "Analyze Dependencies..."); hideAction(IdeActions.ACTION_ANALYZE_BACK_DEPENDENCIES, "Analyze Backward Dependencies..."); hideAction(IdeActions.ACTION_ANALYZE_CYCLIC_DEPENDENCIES, "Analyze Cyclic Dependencies..."); //hideAction(IdeActions.GROUP_REFACTOR, "Refactor"); hideAction(IdeActions.ACTION_TYPE_HIERARCHY, "Class Hierarchy"); hideAction(IdeActions.ACTION_METHOD_HIERARCHY, "Method Hierarchy"); hideAction(IdeActions.ACTION_CALL_HIERARCHY, "Call Hierarchy"); //hideAction(IdeActions.GROUP_TYPE_HIERARCHY_POPUP, "TypeH ierarchy"); //hideAction(IdeActions.GROUP_METHOD_HIERARCHY_POPUP, "Method Hierarchy"); //hideAction(IdeActions.GROUP_CALL_HIERARCHY_POPUP, "Call Hierarchy"); //hideAction(IdeActions.GROUP_COMMANDER_POPUP, "Commander"); //hideAction(IdeActions.GROUP_TESTTREE_POPUP, "TestTreePopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_TESTSTATISTICS_POPUP, "TestStatisticsTablePopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_J2EE_VIEW_POPUP, "J2EEViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_EJB_TRANSACTION_ATTRIBUTES_VIEW_POPUP, "EjbTransactionAttributesViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_EJB_ENVIRONMENT_ENTRIES_VIEW_POPUP, "EjbEnvironmentEntriesViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_EJB_REFERENCES_VIEW_POPUP, "EjbReferencesViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_SECURITY_ROLES_VIEW_POPUP, "SecurityRolesViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_PARAMETERS_VIEW_POPUP, "ParametersViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_SERVLET_MAPPING_VIEW_POPUP, "ServletMappingViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_EJB_RESOURCE_REFERENCES_VIEW_POPUP, "EjbResourceReferencesViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_EJB_RESOURCE_ENVIRONMENT_REFERENCES_VIEW_POPUP, "EjbResourceEnvironmentReferencesViewPopupMenu"); //TODO: find name //hideAction(IdeActions.GROUP_ADD_SUPPORT, "AddSupportGroup"); hideAction(IdeActions.ACTION_QUICK_IMPLEMENTATIONS, "Quick Definition"); }