Révision 2001
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/events/EventCallBack.java (revision 2001) | ||
---|---|---|
3 | 3 |
*/ |
4 | 4 |
package org.txm.chartsengine.rcp.events; |
5 | 5 |
|
6 |
import java.awt.AWTEvent; |
|
7 |
|
|
8 |
import org.txm.chartsengine.rcp.SWTChartsComponentsProvider; |
|
9 | 6 |
import org.txm.chartsengine.rcp.editors.ChartEditor; |
10 | 7 |
|
11 | 8 |
/** |
... | ... | |
41 | 38 |
* @param eventArea |
42 | 39 |
* @param customData |
43 | 40 |
*/ |
44 |
public abstract void processEvent(AWTEvent event, int eventArea, Object customData);
|
|
41 |
public abstract void processEvent(Object event, int eventArea, Object customData);
|
|
45 | 42 |
|
46 | 43 |
/** |
47 | 44 |
* @param chartEditor the chartEditor to set |
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/events/ZoomAndPanCallBack.java (revision 2001) | ||
---|---|---|
1 | 1 |
package org.txm.chartsengine.rcp.events; |
2 | 2 |
|
3 |
import java.awt.AWTEvent; |
|
4 | 3 |
import java.awt.event.KeyEvent; |
5 | 4 |
|
6 | 5 |
import org.txm.chartsengine.rcp.IChartComponent; |
... | ... | |
46 | 45 |
|
47 | 46 |
|
48 | 47 |
@Override |
49 |
public void processEvent(AWTEvent event, int eventArea, Object customData) {
|
|
48 |
public void processEvent(Object event, int eventArea, Object customData) {
|
|
50 | 49 |
|
51 | 50 |
// FIXME: tests zoom and pan keyboard via call back |
52 | 51 |
|
tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/editors/ChartEditor.java (revision 2001) | ||
---|---|---|
364 | 364 |
|
365 | 365 |
// FIXME: SJ: old code, temporary disabled |
366 | 366 |
// Debug |
367 |
// Log.finest("ChartEditor.setFocus(): giving focus to chart composite..."); //$NON-NLS-1$ |
|
368 |
// |
|
369 |
// this.parent.setFocus(); |
|
370 |
// super.setFocus(); |
|
371 |
// |
|
372 |
// this.chartComposite.setFocus(); |
|
367 |
Log.finest("ChartEditor.setFocus(): giving focus to chart composite..."); //$NON-NLS-1$ |
|
373 | 368 |
|
369 |
this.parent.setFocus(); |
|
370 |
super.setFocus(); |
|
371 |
|
|
372 |
this.chartComposite.setFocus(); |
|
374 | 373 |
|
375 | 374 |
|
375 |
|
|
376 | 376 |
// SJ: new code |
377 | 377 |
super.setFocus(); |
378 | 378 |
|
Formats disponibles : Unified diff