Package org.locationtech.udig.project.command.map

Examples of org.locationtech.udig.project.command.map.LayerMoveUpCommand


        upAction = new LayerAction(){
            /**
             * @see org.eclipse.jface.action.Action#run()
             */
            public void run() {
                getCurrentMap().sendCommandASync(new LayerMoveUpCommand(structSelection));
            }
        };
        upAction.setEnabled(false);
        upAction.setToolTipText(Messages.LegendView_up_tooltip);
        upAction.setImageDescriptor(ProjectUIPlugin.getDefault().getImageDescriptor(
View Full Code Here


             */
            public void run() {
                if( selection.isEmpty() ) return;
                IMap map = getCurrentMap();
                //map.sendCommandSync( new LayerMoveUpCommand( selection ));
                map.sendCommandASync( new LayerMoveUpCommand( selection ));
            }
        };
        upAction.setEnabled(false);
        upAction.setToolTipText(Messages.LayersView_up_tooltip);
        upAction.setImageDescriptor(ProjectUIPlugin.getDefault().getImageDescriptor(ISharedImages.UP_CO));
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.command.map.LayerMoveUpCommand

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.