Revision 1763 branches/gvSIG_CAD_Layout_version/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/FLayoutFunctions.java
FLayoutFunctions.java | ||
---|---|---|
106 | 106 |
((FFrameGroup) fframe).setAt(layout.getAT()); |
107 | 107 |
} |
108 | 108 |
|
109 |
fframe.setBoundBox(FLayoutUtilities.toSheetRect(rectangle, |
|
109 |
//fframe.setBoundBox(FLayoutUtilities.toSheetRect(rectangle, |
|
110 |
// layout.getAT())); |
|
111 |
IFFrame frame=fframe.cloneFFrame(layout,null); |
|
112 |
frame.setBoundBox(FLayoutUtilities.toSheetRect(rectangle, |
|
110 | 113 |
layout.getAT())); |
114 |
((LayoutEditableFeature)layout.getCadToolAdapter().getEditableFeatureSource()).modifyFFrame(frame,layout.getFFrames().indexOf(fframe),layout.getFFrames().size()-1); |
|
111 | 115 |
isUpdate = true; |
112 | 116 |
} |
113 | 117 |
|
... | ... | |
172 | 176 |
fframe.setBoundBox(FLayoutUtilities.toSheetRect(r, layout.getAT())); |
173 | 177 |
|
174 | 178 |
if (layout.openFFrameDialog(fframe)) { |
175 |
layout.addFFrame(fframe, true); |
|
179 |
///layout.addFFrame(fframe, true); |
|
180 |
((LayoutEditableFeature)layout.getCadToolAdapter().getEditableFeatureSource()).addFFrame(fframe); |
|
176 | 181 |
} |
177 | 182 |
} |
178 | 183 |
} |
Also available in: Unified diff