mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
collapseAll for toolbar
This commit is contained in:
@@ -520,10 +520,11 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
|
||||
scrollAction = (ScrollFromSourceAction)action;
|
||||
myActionGroup.remove(scrollAction);
|
||||
}
|
||||
//if (action instanceof CollapseAllToolbarAction) {
|
||||
// collapseAction = (CollapseAllToolbarAction)action;
|
||||
// myActionGroup.remove(collapseAction);
|
||||
//}
|
||||
if (action instanceof CollapseAllToolbarAction) {
|
||||
collapseAction = (CollapseAllToolbarAction)action;
|
||||
collapseAction.getTemplatePresentation().setIcon(IconLoader.getIcon("/general/collapseAll.png"));
|
||||
myActionGroup.remove(collapseAction);
|
||||
}
|
||||
}
|
||||
decorator.setTitleActions(new AnAction[] {scrollAction, collapseAction});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user