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(); }
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); } } }
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; }
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; }
public void setSelected(AnActionEvent event, boolean flag) { DependencyUISettings.getInstance().UI_FILTER_LEGALS = flag; mySettings.UI_FILTER_LEGALS = flag; rebuild(); }
public void setSelected(AnActionEvent event, boolean flag) { DependencyUISettings.getInstance().UI_GROUP_BY_SCOPE_TYPE = flag; mySettings.UI_GROUP_BY_SCOPE_TYPE = flag; rebuild(); }
public void setSelected(AnActionEvent event, boolean flag) { DependencyUISettings.getInstance().UI_SHOW_MODULE_GROUPS = flag; mySettings.UI_SHOW_MODULE_GROUPS = flag; rebuild(); }
public void setSelected(AnActionEvent event, boolean flag) { DependencyUISettings.getInstance().UI_FLATTEN_PACKAGES = flag; mySettings.UI_FLATTEN_PACKAGES = flag; rebuild(); }