unify behavior with platform toggles: vcs

GitOrigin-RevId: 58aca1402573978cbcae9b431755bd54f0e494a3
This commit is contained in:
Gregory.Shrago
2024-07-03 04:11:56 +00:00
committed by intellij-monorepo-bot
parent db83d84ca7
commit 1d62dabdd5
2 changed files with 0 additions and 10 deletions
@@ -312,11 +312,6 @@ public class StructureFilterPopupComponent extends FilterPopupComponent<VcsLogFi
return ActionUpdateThread.EDT;
}
@Override
public boolean isSoftMultiChoice() {
return false;
}
@Override
public boolean isSelected(@NotNull AnActionEvent e) {
return isVisible(myRoot);
@@ -61,7 +61,6 @@ internal class GitBranchesTreePopupResizeAction :
internal class GitBranchesTreePopupTrackReposSynchronouslyAction : TrackReposSynchronouslyAction() {
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.EDT
override fun isSoftMultiChoice(): Boolean = false
override fun update(e: AnActionEvent) {
val projectExist = e.project != null
@@ -79,8 +78,6 @@ internal class GitBranchesTreePopupTrackReposSynchronouslyAction : TrackReposSyn
internal class GitBranchesTreePopupGroupByPrefixAction : BranchGroupingAction(GroupingKey.GROUPING_BY_DIRECTORY) {
override fun isSoftMultiChoice(): Boolean = false
override fun update(e: AnActionEvent) {
super.update(e)
e.presentation.setText(DvcsBundle.messagePointer("action.text.branch.group.by.prefix"))
@@ -152,7 +149,6 @@ internal class GitBranchesTreePopupFilterSeparatorWithText : DefaultActionGroup(
internal class GitBranchesTreePopupFilterByAction : DumbAwareToggleAction() {
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.EDT
override fun isSoftMultiChoice(): Boolean = false
override fun update(e: AnActionEvent) {
super.update(e)
@@ -186,7 +182,6 @@ internal class GitBranchesTreePopupFilterByAction : DumbAwareToggleAction() {
internal class GitBranchesTreePopupFilterByRepository : DumbAwareToggleAction() {
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.EDT
override fun isSoftMultiChoice(): Boolean = false
override fun update(e: AnActionEvent) {
super.update(e)