downAction = new LayerAction(){
public void run() {
if( selection.isEmpty() ) return;
IMap map = getCurrentMap();
// map.sendCommandSync( new LayerMoveDownCommand( selection ));
map.sendCommandASync( new LayerMoveDownCommand( selection ));
}
};
downAction.setEnabled(false);
downAction.setToolTipText(Messages.LayersView_down_tooltip);
downAction.setImageDescriptor(ProjectUIPlugin.getDefault().getImageDescriptor(ISharedImages.DOWN_CO));