Révision 1847
tmp/org.txm.chartsengine.graphstream.rcp/src/org/txm/chartsengine/graphstream/rcp/swing/GSChartComponent.java (revision 1847) | ||
---|---|---|
30 | 30 |
super(viewer, Viewer.DEFAULT_VIEW_ID, Viewer.newGraphRenderer()); |
31 | 31 |
} |
32 | 32 |
|
33 |
|
|
33 |
/** |
|
34 |
* |
|
35 |
* @param viewer |
|
36 |
*/ |
|
34 | 37 |
public void reinit(Viewer viewer) { |
35 | 38 |
if(this.viewer != null) { |
36 | 39 |
this.viewer.close(); |
tmp/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/themes/highcharts/swing/CustomChartPanel.java (revision 1847) | ||
---|---|---|
100 | 100 |
return tip; |
101 | 101 |
} |
102 | 102 |
|
103 |
|
|
104 |
// public void paint(Graphics gr) { |
|
105 |
// paintComponent(gr); |
|
106 |
// } |
|
107 |
|
|
108 |
// public void paintComponent(Graphics gr) { |
|
109 |
// super.paintComponents(gr); |
|
110 |
// Graphics2D g2 = (Graphics2D) gr; |
|
111 |
// System.out.println("CustomChartPanel.paintComponent()"); |
|
112 |
// //FIXME: dynamic drawing tests |
|
113 |
//// Line2D line = new Line2D.Double(0, 100, 500, 350); |
|
114 |
//// g2.draw(line); |
|
115 |
//// g2.drawRect(50, 100, 800, 2000); |
|
116 |
// } |
|
117 | 103 |
|
118 | 104 |
} |
tmp/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/themes/base/swing/ItemSelectionJFCChartPanel.java (revision 1847) | ||
---|---|---|
21 | 21 |
import org.txm.chartsengine.jfreechart.rcp.events.JFCDefaultChartMouseListener; |
22 | 22 |
import org.txm.chartsengine.jfreechart.rcp.themes.highcharts.events.JFCItemsKeyboardSelectionCallBack; |
23 | 23 |
import org.txm.chartsengine.rcp.IChartComponent; |
24 |
import org.txm.chartsengine.rcp.SWTChartsComponentsProvider; |
|
25 | 24 |
import org.txm.chartsengine.rcp.editors.ChartEditor; |
26 | 25 |
import org.txm.chartsengine.rcp.events.AbstractChartMouseListener; |
27 | 26 |
import org.txm.chartsengine.rcp.events.ChartKeyListener; |
28 | 27 |
import org.txm.utils.OSDetector; |
29 | 28 |
|
30 | 29 |
|
31 |
|
|
32 | 30 |
/** |
31 |
* JFC Chart panel that manage chart entities selection. |
|
33 | 32 |
* |
34 | 33 |
* @author sjacquot |
35 | 34 |
* |
... | ... | |
51 | 50 |
defaultPanMouseModifierKeyMask = MouseEvent.ALT_DOWN_MASK; |
52 | 51 |
} |
53 | 52 |
} |
54 |
|
|
55 | 53 |
|
56 | 54 |
|
57 | 55 |
/** |
... | ... | |
59 | 57 |
*/ |
60 | 58 |
protected ChartEditor editor; |
61 | 59 |
|
62 |
/** |
|
63 |
* The linked SWT Charts Component Provider. |
|
64 |
*/ |
|
65 |
// protected SWTChartsComponentsProvider swtChartsComponentProvider; |
|
66 |
|
|
67 |
|
|
68 | 60 |
|
69 | 61 |
/** |
70 | 62 |
* @param chart |
71 | 63 |
*/ |
72 | 64 |
public ItemSelectionJFCChartPanel(JFreeChart chart) { |
73 | 65 |
super(chart); |
74 |
// this.swtChartsComponentProvider = swtChartsComponentProvider; |
|
75 | 66 |
} |
76 | 67 |
|
77 | 68 |
|
Formats disponibles : Unified diff