use of net.sourceforge.pmd.eclipse.ui.views.actions.ViolationPresentationTypeAction in project pmd-eclipse-plugin by pmd.
the class ViolationOverviewMenuManager method createShowTypeSubmenu.
/**
* Create menu for selecting the show type.
* @param manager
*/
private void createShowTypeSubmenu(IMenuManager manager) {
final Action typeAction1 = new ViolationPresentationTypeAction(this.overview, ViolationOverview.SHOW_MARKERS_FILES);
final Action typeAction2 = new ViolationPresentationTypeAction(this.overview, ViolationOverview.SHOW_FILES_MARKERS);
final Action typeAction3 = new ViolationPresentationTypeAction(this.overview, ViolationOverview.SHOW_PACKAGES_FILES_MARKERS);
manager.add(typeAction1);
manager.add(typeAction2);
manager.add(typeAction3);
}
Aggregations