Revision 145 branches/usability_v2/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/DefaultLayoutContext.java
DefaultLayoutContext.java | ||
---|---|---|
131 | 131 |
|
132 | 132 |
public void delFFrameSelected() { |
133 | 133 |
fcr.startComplex(PluginServices.getText(this, "remove_elements")); |
134 |
for (int i = fcr.getFrameManager().getAllFFrames().length - 1; i >= 0; i--) { |
|
135 |
IFFrame fframe = fcr.getFrameManager().getFFrame(i); |
|
134 |
IFFrame[] validFrames = fcr.getFrameManager().getFFrames(); |
|
135 |
for (int i = 0; i<validFrames.length; i++) { |
|
136 |
IFFrame fframe = validFrames[i]; |
|
136 | 137 |
|
137 | 138 |
if (fframe.isSelected()) { |
138 | 139 |
observers.notifyObservers(this, |
Also available in: Unified diff