ActionManager actionManager = Application.getInstance().getContext().getActionManager();
for (PositionTableColumn column : columnModel.getPreparedColumns()) {
column.addPropertyChangeListener(visibleListener);
String menuItemText = RouteConverter.getBundle().getString(column.getName());
ToggleColumnVisibilityAction action = new ToggleColumnVisibilityAction(column);
actionManager.register("show-column-" + column.getName(), action);
JCheckBoxMenuItem popupItem = new JCheckBoxMenuItem(menuItemText);
popupItem.setModel(new PositionTableColumnButtonModel(column, action));
popupMenu.add(popupItem);