use of net.sourceforge.pmd.eclipse.ui.views.actions.CalculateStatisticsAction in project pmd-eclipse-plugin by pmd.
the class ViolationOverviewMenuManager method createActionBars.
/**
* Creates the ActionBars
*/
public void createActionBars(IToolBarManager manager) {
// Action for calculating the #violations/loc
final Action calculateStats = new CalculateStatisticsAction(overview);
manager.add(calculateStats);
manager.add(new Separator());
// the PriorityFilter-Actions
for (PriorityFilterAction priorityAction : priorityActions) {
manager.add(priorityAction);
}
manager.add(new Separator());
Action collapseAllAction = new CollapseAllAction(overview.getViewer());
manager.add(collapseAllAction);
}
Aggregations