Révision 874

tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/ChartComposite.java (revision 874)
238 238
	 * @return
239 239
	 */
240 240
	public EventCallBackHandler getMouseCallBackHandler(Component component) {
241
		// FIXME: old version
242 241
		EventCallBackHandler handler = null;
243 242
		EventListener[] listeners = component.getMouseListeners();
244 243

  
......
249 248
			}
250 249
		}
251 250
		return handler;
252
//		return this.getCallBackHandler(MouseListener.class);
253 251
	}
254 252

  
255 253

  
......
259 257
	 * @return
260 258
	 */
261 259
	public EventCallBackHandler getKeyCallBackHandler(Component component) {
262
		// FIXME: old version
263 260
		EventCallBackHandler handler = null;
264 261
		EventListener[] listeners = component.getKeyListeners();
265 262

  
......
270 267
			}
271 268
		}
272 269
		return handler;
273
//		return this.getCallBackHandler(KeyListener.class);
274 270
	}
275 271

  
276 272
	/**
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/SwingChartComposite.java (revision 874)
121 121
			// creates components if they not exist
122 122
			if(this.chartComponent == null) {
123 123

  
124
				// FIXME! tmp fix to avoid dependencies but need to validate it works well
124 125
				// recreates the chart if not of right type
125
				if(!(chart instanceof JFreeChart))	{
126
				if(this.chartEditor.getResult().isChartDirty())	{
127
				//if(!(chart instanceof JFreeChart))	{
126 128
					try {
127 129
						this.chartEditor.getResult().clearLastRenderingParameters();
128 130
						this.chartEditor.getResult().compute();

Formats disponibles : Unified diff