Revision 1219 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/GraphicControls.java

View differences:

GraphicControls.java
46 46
 */
47 47
package com.iver.cit.gvsig;
48 48

  
49
import org.apache.log4j.Logger;
50

  
51 49
import com.iver.andami.PluginServices;
52 50
import com.iver.andami.plugins.Extension;
53 51
import com.iver.andami.ui.mdiManager.View;
52

  
54 53
import com.iver.cit.gvsig.gui.layout.FLayoutGraphics;
55 54
import com.iver.cit.gvsig.gui.layout.Layout;
56 55

  
56
import org.apache.log4j.Logger;
57 57

  
58

  
58 59
/**
60
 * Extensi?n que actua sobre el Layout para controlas las diferentes
61
 * operaciones sobre los gr?ficos.
62
 *
59 63
 * @author Vicente Caballero Navarro
60 64
 */
61 65
public class GraphicControls implements Extension {
62
	private static Logger logger = Logger.getLogger(LayoutControls.class.getName());
66
	private static Logger logger = Logger.getLogger(GraphicControls.class.getName());
63 67

  
64 68
	/**
65
	 * DOCUMENT ME!
66
	 *
67
	 * @param s DOCUMENT ME!
69
	 * @see com.iver.andami.plugins.Extension#execute(java.lang.String)
68 70
	 */
69 71
	public void execute(String s) {
70 72
		Layout layout = (Layout) PluginServices.getMDIManager().getActiveView();
71
		FLayoutGraphics lg= new FLayoutGraphics(layout);
73
		FLayoutGraphics lg = new FLayoutGraphics(layout);
72 74
		logger.debug("Comand : " + s);
73 75

  
74 76
		if (s.compareTo("SIMPLIFICAR") == 0) {
......
89 91
			lg.border();
90 92
		} else if (s.compareTo("POSICIONAR") == 0) {
91 93
			lg.position();
92
		} 
94
		}
93 95
	}
94 96

  
95 97
	/**

Also available in: Unified diff