mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
unify behavior with platform toggles: vcs
GitOrigin-RevId: 58aca1402573978cbcae9b431755bd54f0e494a3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
db83d84ca7
commit
1d62dabdd5
-5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user