mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] rename hideAll -> collapseAll and showAll -> expandAll
This commit is contained in:
@@ -123,11 +123,11 @@ public class VcsLogUiImpl implements VcsLogUi, Disposable {
|
||||
}, title, false, null, getMainFrame().getMainComponent());
|
||||
}
|
||||
|
||||
public void showAll() {
|
||||
public void expandAll() {
|
||||
performLongAction(new GraphAction.GraphActionImpl(null, GraphAction.Type.BUTTON_EXPAND), "Expanding linear branches...");
|
||||
}
|
||||
|
||||
public void hideAll() {
|
||||
public void collapseAll() {
|
||||
performLongAction(new GraphAction.GraphActionImpl(null, GraphAction.Type.BUTTON_COLLAPSE), "Collapsing linear branches...");
|
||||
}
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ public class MainFrame extends JPanel implements TypeSafeDataProvider {
|
||||
new GraphAction("Collapse linear branches", "Collapse linear branches", VcsLogIcons.CollapseBranches) {
|
||||
@Override
|
||||
public void actionPerformed(AnActionEvent e) {
|
||||
myUI.hideAll();
|
||||
myUI.collapseAll();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -201,7 +201,7 @@ public class MainFrame extends JPanel implements TypeSafeDataProvider {
|
||||
AnAction expandBranchesAction = new GraphAction("Expand all branches", "Expand all branches", VcsLogIcons.ExpandBranches) {
|
||||
@Override
|
||||
public void actionPerformed(AnActionEvent e) {
|
||||
myUI.showAll();
|
||||
myUI.expandAll();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user