Revision 12104
branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/FLayoutGraphics.java | ||
---|---|---|
165 | 165 |
for (int j = selecList.size() - 1; j >= 0; j--) { |
166 | 166 |
IFFrame frame=(IFFrame) selecList.get(j); |
167 | 167 |
frame.setRotation(frame.getRotation()+fframe.getRotation()); |
168 |
layout.addFFrame(frame, false,true);
|
|
168 |
layout.addFFrameSameProperties(frame);
|
|
169 | 169 |
} |
170 | 170 |
layout.delFFrame(fframegroup); |
171 | 171 |
} |
branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/FFrameGroup.java | ||
---|---|---|
405 | 405 |
public void refreshDependence(IFFrame fant, IFFrame fnew) { |
406 | 406 |
IFFrame[] frames=getFFrames(); |
407 | 407 |
for (int i =0;i<frames.length;i++){ |
408 |
if (frames[i] instanceof IFFrameViewDependence){ |
|
409 |
((IFFrameViewDependence)frames[i]).refreshDependence(fant,fnew); |
|
410 |
} |
|
408 |
|
|
411 | 409 |
if (fnew instanceof FFrameGroup){ |
412 | 410 |
IFFrame[] framesGroupNew=((FFrameGroup)fnew).getFFrames(); |
413 | 411 |
for (int j=0;j<framesGroupNew.length;j++){ |
... | ... | |
420 | 418 |
} |
421 | 419 |
} |
422 | 420 |
} |
421 |
}else if (frames[i] instanceof IFFrameViewDependence){ |
|
422 |
((IFFrameViewDependence)frames[i]).refreshDependence(fant,fnew); |
|
423 | 423 |
} |
424 | 424 |
} |
425 | 425 |
|
branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/Layout.java | ||
---|---|---|
780 | 780 |
frame.setLevel(getNumBefore()); |
781 | 781 |
updateFFrames(); |
782 | 782 |
} |
783 |
|
|
784 | 783 |
/** |
784 |
* It adds a fframe to Arraylist of FFrames with the same properties. |
|
785 |
* |
|
786 |
* @param frame fframe to add. |
|
787 |
*/ |
|
788 |
public void addFFrameSameProperties(IFFrame frame){ |
|
789 |
efs.addFFrame(frame); |
|
790 |
frame.setSelected(true); |
|
791 |
frame.setLevel(getNumBefore()); |
|
792 |
updateFFrames(); |
|
793 |
} |
|
794 |
/** |
|
785 | 795 |
* Open the dialog of Layout properties. |
786 | 796 |
* |
787 | 797 |
* @param job PrinterJob |
Also available in: Unified diff