Revision 21299 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.getEFS().startComplexCommand();
86
		layoutContext.getEFS().startComplex();
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.getEFS().endComplexCommand(PluginServices.getText(this,"simplify"));
93
		layoutContext.getEFS().endComplex(PluginServices.getText(this,"simplify"));
94 94
		layoutContext.callLayoutDrawListeners();
95 95
	}
96 96
}

Also available in: Unified diff