Revision 24962 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/contextmenu/gui/BeforeLayoutMenuEntry.java

View differences:

BeforeLayoutMenuEntry.java
81 81

  
82 82

  
83 83
	public void execute(LayoutContext layoutContext, IFFrame[] selectedFrames) {
84
		layoutContext.getFrameCommandsRecord().startComplex();
84
		layoutContext.getFrameCommandsRecord().startComplex(PluginServices.getText(this,"change_before"));
85 85
		for (int i = selectedFrames.length - 1; i >= 0; i--) {
86 86
			IFFrame fframe = selectedFrames[i];
87 87
				if (fframe instanceof FFrameGroup) {
......
93 93
				layoutContext.getFrameCommandsRecord().update(fframe,fframeAux);
94 94
				fframeAux.getBoundingBox(layoutContext.getAT());
95 95
		}
96
		layoutContext.getFrameCommandsRecord().endComplex(PluginServices.getText(this,"change_before"));
96
		layoutContext.getFrameCommandsRecord().endComplex();
97 97
		layoutContext.updateFFrames();
98 98
		layoutContext.callLayoutDrawListeners();
99 99
	}

Also available in: Unified diff