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

View differences:

SimplifyLayoutMenuEntry.java
83 83

  
84 84

  
85 85
	public void execute(LayoutContext layoutContext, IFFrame[] selectedFrames) {
86
		layoutContext.getFrameCommandsRecord().startComplex();
86
		layoutContext.getFrameCommandsRecord().startComplex(PluginServices.getText(this,"simplify"));
87 87
		for (int i = selectedFrames.length - 1; i >= 0; i--) {
88 88
			IFFrame fframe = selectedFrames[i];
89 89
			if (fframe instanceof FFrameLegend) {
90 90
				((FFrameLegend) fframe).toFFrames(layoutContext);
91 91
			}
92 92
		}
93
		layoutContext.getFrameCommandsRecord().endComplex(PluginServices.getText(this,"simplify"));
93
		layoutContext.getFrameCommandsRecord().endComplex();
94 94
		layoutContext.callLayoutDrawListeners();
95 95
	}
96 96
}

Also available in: Unified diff