mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
extract AutoScroll actions for RIDER
GitOrigin-RevId: f8922d269a4814b3bd18b7673178ef4d249dc0bf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
45620d2a86
commit
ba328fd25a
@@ -712,8 +712,8 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
|
||||
})
|
||||
.setAsSecondary(true);
|
||||
}
|
||||
myActionGroup.addAction(myAutoScrollToSourceHandler.createToggleAction()).setAsSecondary(true);
|
||||
myActionGroup.addAction(myAutoScrollFromSourceHandler.createToggleAction()).setAsSecondary(true);
|
||||
myActionGroup.addAction(getAutoScrollToSourceAction()).setAsSecondary(true);
|
||||
myActionGroup.addAction(getAutoScrollFromSourceAction()).setAsSecondary(true);
|
||||
myActionGroup.addAction(new ManualOrderAction()).setAsSecondary(true);
|
||||
myActionGroup.addAction(new SortByTypeAction()).setAsSecondary(true);
|
||||
myActionGroup.addAction(new FoldersAlwaysOnTopAction()).setAsSecondary(true);
|
||||
@@ -2207,4 +2207,14 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
|
||||
}
|
||||
return pane != null ? pane.getReady(requestor) : ActionCallback.DONE;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ToggleAction getAutoScrollToSourceAction() {
|
||||
return myAutoScrollToSourceHandler.createToggleAction();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public ToggleAction getAutoScrollFromSourceAction() {
|
||||
return myAutoScrollFromSourceHandler.createToggleAction();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user