// lets choose the root container
node = editor.getModel();
}
if (node != null && node instanceof Route) {
DeleteRouteAction deleteRouteAction = new DeleteRouteAction();
deleteRouteAction.setSelectedRoute((RouteSupport)node);
menu.add(deleteRouteAction);
}
// add a separator
menu.add(new Separator());