private void addOperationMenu(JMenu parent) {
KongaMenu opMenu = new KongaMenu("&Operation", getMenuIcon(EntityType.Operation));
SuccessOperationSelector selector = new SuccessOperationSelector(controller, node);
opMenu.add(new OpenSuccessFailureSelectorDialogAction(selector));
opMenu.add(new CreateNewOperationAction(controller, node, RouteType.SUCCESS));
opMenu.addSeparator();
opMenu.add(new RemoveSuccessOperationAction(controller, node));
parent.add(opMenu);
}
private static Icon getMenuIcon(EntityType type) {