public DependencyController(GraphController controller) {
super(controller);
HighlightDependents highlight = new HighlightDependents(
"Highlight dependents", true, false);
_menuFactory.addMenuItemFactory(new MenuActionFactory(highlight));
HighlightDependents clear1 = new HighlightDependents(
"Clear dependents", true, true);
_menuFactory.addMenuItemFactory(new MenuActionFactory(clear1));
HighlightDependents prerequisites = new HighlightDependents(
"Highlight prerequisites", false, false);
_menuFactory
.addMenuItemFactory(new MenuActionFactory(prerequisites));
HighlightDependents clear2 = new HighlightDependents(
"Clear prerequisites", false, true);
_menuFactory.addMenuItemFactory(new MenuActionFactory(clear2));
}