Package slash.navigation.converter.gui.actions

Examples of slash.navigation.converter.gui.actions.ToggleColumnVisibilityAction


        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);
View Full Code Here

TOP

Related Classes of slash.navigation.converter.gui.actions.ToggleColumnVisibilityAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.