Revision 12213

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/toc/actions/LayersGroupTocMenuEntry.java
53 53
 *
54 54
 * $Id$
55 55
 * $Log$
56
 * Revision 1.6  2007-02-15 11:04:54  caballero
56
 * Revision 1.7  2007-06-19 08:42:17  jcampos
57
 * New method to get new group layers
58
 *
59
 * Revision 1.6  2007/02/15 11:04:54  caballero
57 60
 * cancelar agrupaci?n
58 61
 *
59 62
 * Revision 1.5  2007/02/14 17:09:43  caballero
......
130 133

  
131 134
			getMapContext().beginAtomicEvent();
132 135
			FLayers parent = selectedItems[0].getParentLayer();
133
			FLayers newGroup = new FLayers(getMapContext(),parent);
136
//			FLayers newGroup = new FLayers(getMapContext(),parent);
137
			FLayers newGroup = getMapContext().getNewGroupLayer(parent);
134 138
			newGroup.setName(nombre);
135 139
			int pos=0;
136 140
			for (int i=0;i<parent.getLayersCount();i++){

Also available in: Unified diff