Revision 12198 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/dialog/RasterPropertiesTocMenuEntry.java

View differences:

RasterPropertiesTocMenuEntry.java
42 42
	private ArrayList                         listeners  = new ArrayList();
43 43
	private FLayer                            lyr        = null;
44 44

  
45
	/**
46
	 * Variable para controlar si los eventos de los paneles se deben interpretar.
47
	 * En la carga inicial se deben desactivar todos los eventos
48
	 */
49
	public static boolean                     enableEvents = false;
50

  
45 51
	public String getGroup() {
46 52
		return "raster";
47 53
	}
......
98 104
		ExtensionPoint extensionPoint = (ExtensionPoint)extensionPoints.get("RasterSEPropertiesDialog");
99 105
		if (extensionPoint == null)
100 106
			return;
107

  
108
		enableEvents = false;
109

  
101 110
		Iterator iterator = extensionPoint.keySet().iterator();
102 111
		while (iterator.hasNext()) {
103 112
			try {
......
111 120
			}
112 121
		}
113 122

  
123
		enableEvents = true;
114 124
		PluginServices.getMDIManager().addWindow(properties);
125

  
115 126
	}
116 127
}

Also available in: Unified diff