コード例 #1
0
 public void setSelected(AnActionEvent event, boolean flag) {
   DependencyUISettings.getInstance().UI_SHOW_FILES = flag;
   mySettings.UI_SHOW_FILES = flag;
   if (!flag
       && myLeftTree.getSelectionPath() != null
       && myLeftTree.getSelectionPath().getLastPathComponent() instanceof FileNode) {
     TreeUtil.selectPath(myLeftTree, myLeftTree.getSelectionPath().getParentPath());
   }
   rebuild();
 }
コード例 #2
0
 public void actionPerformed(AnActionEvent e) {
   PackageDependenciesNode node = myRightTree.getSelectedNode();
   if (node != null) {
     PsiElement elt = node.getPsiElement();
     if (elt != null) {
       DependencyUISettings.getInstance().UI_FILTER_LEGALS = false;
       mySettings.UI_FILTER_LEGALS = false;
       selectElementInLeftTree(elt);
     }
   }
 }
コード例 #3
0
 public void copyToApplicationDependencySettings() {
   final DependencyUISettings settings = DependencyUISettings.getInstance();
   settings.UI_FLATTEN_PACKAGES = UI_FLATTEN_PACKAGES;
   settings.UI_SHOW_FILES = UI_SHOW_FILES;
   settings.UI_SHOW_MODULES = UI_SHOW_MODULES;
   settings.UI_SHOW_MODULE_GROUPS = UI_SHOW_MODULE_GROUPS;
   settings.UI_FILTER_LEGALS = UI_FILTER_LEGALS;
   settings.UI_GROUP_BY_SCOPE_TYPE = UI_GROUP_BY_SCOPE_TYPE;
   settings.SCOPE_TYPE = SCOPE_TYPE;
   settings.UI_COMPACT_EMPTY_MIDDLE_PACKAGES = UI_COMPACT_EMPTY_MIDDLE_PACKAGES;
   settings.UI_FILTER_OUT_OF_CYCLE_PACKAGES = UI_FILTER_OUT_OF_CYCLE_PACKAGES;
 }
コード例 #4
0
 public DependencyPanelSettings() {
   final DependencyUISettings settings = DependencyUISettings.getInstance();
   UI_FLATTEN_PACKAGES = settings.UI_FLATTEN_PACKAGES;
   UI_SHOW_FILES = settings.UI_SHOW_FILES;
   UI_SHOW_MODULES = settings.UI_SHOW_MODULES;
   UI_SHOW_MODULE_GROUPS = settings.UI_SHOW_MODULE_GROUPS;
   UI_FILTER_LEGALS = settings.UI_FILTER_LEGALS;
   UI_GROUP_BY_SCOPE_TYPE = settings.UI_GROUP_BY_SCOPE_TYPE;
   SCOPE_TYPE = settings.SCOPE_TYPE;
   UI_COMPACT_EMPTY_MIDDLE_PACKAGES = settings.UI_COMPACT_EMPTY_MIDDLE_PACKAGES;
   UI_FILTER_OUT_OF_CYCLE_PACKAGES = settings.UI_FILTER_OUT_OF_CYCLE_PACKAGES;
 }
コード例 #5
0
 public void setSelected(AnActionEvent event, boolean flag) {
   DependencyUISettings.getInstance().UI_FILTER_LEGALS = flag;
   mySettings.UI_FILTER_LEGALS = flag;
   rebuild();
 }
コード例 #6
0
 public void setSelected(AnActionEvent event, boolean flag) {
   DependencyUISettings.getInstance().UI_GROUP_BY_SCOPE_TYPE = flag;
   mySettings.UI_GROUP_BY_SCOPE_TYPE = flag;
   rebuild();
 }
コード例 #7
0
 public void setSelected(AnActionEvent event, boolean flag) {
   DependencyUISettings.getInstance().UI_SHOW_MODULE_GROUPS = flag;
   mySettings.UI_SHOW_MODULE_GROUPS = flag;
   rebuild();
 }
コード例 #8
0
 public void setSelected(AnActionEvent event, boolean flag) {
   DependencyUISettings.getInstance().UI_FLATTEN_PACKAGES = flag;
   mySettings.UI_FLATTEN_PACKAGES = flag;
   rebuild();
 }