Révision 1692
tmp/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/themes/base/swing/ItemSelectionJFCChartPanel.java (revision 1692) | ||
---|---|---|
37 | 37 |
public class ItemSelectionJFCChartPanel extends ChartPanel implements IChartComponent { |
38 | 38 |
|
39 | 39 |
|
40 |
// protected boolean squareOffEnabled; |
|
41 |
|
|
42 | 40 |
/** |
43 | 41 |
* Default modifier key mask used for pan by JFC chart panel. |
44 | 42 |
*/ |
... | ... | |
60 | 58 |
* The parent editor. |
61 | 59 |
*/ |
62 | 60 |
protected ChartEditor editor; |
63 |
|
|
64 |
|
|
65 | 61 |
|
66 | 62 |
/** |
67 | 63 |
* The linked SWT Charts Component Provider. |
... | ... | |
86 | 82 |
public void resetView() { |
87 | 83 |
// without that restoreAutoBounds() doesn't work sometimes... |
88 | 84 |
this.zoomInBoth(20, 20); |
89 |
|
|
90 | 85 |
this.restoreAutoBounds(); |
91 |
|
|
92 |
// // Square unit axis ratio constraint |
|
93 |
// if(this.squareOffEnabled) { |
|
94 |
// this.squareOff(); |
|
95 |
// } |
|
96 | 86 |
} |
97 | 87 |
|
98 | 88 |
|
... | ... | |
282 | 272 |
} |
283 | 273 |
} |
284 | 274 |
|
285 |
// @Override |
|
286 |
// public void setSquareOffEnabled(boolean enabled) { |
|
287 |
// this.squareOffEnabled = enabled; |
|
288 |
// } |
|
289 | 275 |
|
290 | 276 |
} |
Formats disponibles : Unified diff